Fix incorrect sbtRecordOffset
This has to be 1 for the shadow version of the any hit shader to be used. Signed-off-by: Konstantin Seurer <konstantin.seurer@gmail.com>
This commit is contained in:
parent
7b96b9582c
commit
c3aabfeb64
1 changed files with 1 additions and 1 deletions
|
|
@ -121,7 +121,7 @@ void main()
|
|||
traceRayEXT(topLevelAS, // acceleration structure
|
||||
flags, // rayFlags
|
||||
0xFF, // cullMask
|
||||
0, // sbtRecordOffset
|
||||
1, // sbtRecordOffset
|
||||
0, // sbtRecordStride
|
||||
1, // missIndex
|
||||
origin, // ray origin
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue