/vulkan_ray_tracing_minimal_abstraction

A minimal implementation of the VK_KHR_ray_tracing extension.

Primary LanguageCGNU General Public License v3.0GPL-3.0

Vulkan Ray Tracing Minimal Abstraction

There are two different sub-projects found in this repository. Both projects use a simple global illumination model but they differ in the manner of casting the rays.

ray_pipeline uses the ray tracing pipeline with a shader binding table to cast the rays.

ray_query uses ray querying in the fragment shader to cast rays.

Important (Current 455.46.04)

Make sure the VK_KHR_ray_query and VK_KHR_ray_tracing_pipeline extensions are available on your device! You may need to install the Nvidia Vulkan Beta drivers to use the extension.

Even if you have a compatible RTX graphics card, your drivers may not have the extension available.

beta-drivers

To see if the extension is available, you can use the vulkaninfo program.

vulkaninfo