nvpro-samples / vk_raytracing_tutorial_KHR

Ray tracing examples and tutorials using VK_KHR_ray_tracing
Apache License 2.0
1.34k stars 142 forks source link

Fix incorrect sbtRecordOffset #41

Closed KonstantinSeurer closed 1 year ago

KonstantinSeurer commented 2 years ago

This has to be 1 for the shadow version of the any hit shader to be used. This fixes the issue observed in https://gitlab.freedesktop.org/mesa/mesa/-/issues/6692 .

mklefrancois commented 1 year ago

Thanks @KonstantinSeurer, the document had the right value, but the code that was committed did not. I'll be fixing this shortly.