procedural-3d-engine/data/shaders/glsl/rayquery
JoseEmilio-ARM 3394928112
Update scene.frag
Ray Query example: shader optimization

Calling rayQueryProceedEXT in a loop can prevent certain shader optimizations. By setting the TerminateOnFirstHit and SkipAABB flags, there is no scenario where rayQueryProceedEXT will return true, hence the loop can be removed. 

This way the implementation has a guarantee that the traversal can be completed without returning control to the shader, which improves performance.
2022-04-07 15:35:38 +01:00
..
scene.frag Update scene.frag 2022-04-07 15:35:38 +01:00
scene.frag.spv
scene.vert
scene.vert.spv