View on GitHub

Vulkan-Samples

based on Khronos Vulkan-Samples

Basic hardware accelerated ray tracing

Extensions: VK_KHR_ray_tracing_pipeline, VK_KHR_acceleration_structure

Render a basic scene using the official cross-vendor ray tracing extension. Shows how to setup all data structures required for ray tracing, including the bottom and top level acceleration structures for the geometry, the shader binding table and the ray tracing pipelines with shader groups for ray generation, ray hits, and ray misses. After dispatching the rays, the final result is copied to the swapchain image.