Merge pull request #41 from KonstantinSeurer/master

Fix incorrect sbtRecordOffset
This commit is contained in:
Martin-Karl Lefrançois 2022-09-18 09:28:56 +02:00 committed by GitHub
commit 4eb75ea5f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -121,7 +121,7 @@ void main()
traceRayEXT(topLevelAS, // acceleration structure traceRayEXT(topLevelAS, // acceleration structure
flags, // rayFlags flags, // rayFlags
0xFF, // cullMask 0xFF, // cullMask
0, // sbtRecordOffset 1, // sbtRecordOffset
0, // sbtRecordStride 0, // sbtRecordStride
1, // missIndex 1, // missIndex
origin, // ray origin origin, // ray origin