Started working on ray tracing intersection shader example

This commit is contained in:
Sascha Willems 2023-05-13 12:22:04 +02:00
parent a048bc2635
commit ebc4127472
8 changed files with 685 additions and 0 deletions

View file

@ -345,6 +345,10 @@ Renders a texture mapped quad with transparency using the new ray tracing extens
Callable shaders can be dynamically invoked from within other ray tracing shaders to execute different shaders based on dynamic conditions. The example ray traces multiple geometries, with each calling a different callable shader from the closest hit shader.
#### [Ray tracing intersection shaders](examples/raytracingintersection)
Uses an intersection shader for procedural geometry. Instead of using actual geometry, this sample on passes bounding boxes and object definitions. An intersection shader is then used to trace against the procedural objects.
#### [Ray query](examples/rayquery)
Ray queries add acceleration structure intersection functionality to non ray tracing shader stages. This allows for combining ray tracing with rasterization. This example makes uses ray queries to add ray casted shadows to a rasterized sample in the fragment shader.