GPU requirement
You need to have a GPU which supports hardware-accelerated ray tracing, for example, Nvidia RTX 20, 30, 40, 50 series or AMD Radeon RX series.
Step 1 Install the Vulkan SDK
Download Vulkan SDK from
Install Vulkan SDK on your computer
Note: Vulkan has been installed in MS213, 214, 215 for KED students
Step 2 Try the Vulkan Ray Tracing Tutorial Examples
Download the Vulkan Ray Tracing Tutorial code from the Github link in the tutorial
https://nvpro-samples.github.io/vk_raytracing_tutorial_KHR/
Note: If you are KED students and use the KED lab computers, please download the following source code with nvpro_core2.
Otherwise, you need to manually download nvpro_core2 from Git and put that under the root directory.
Build the downloaded project with VSCode or Visual Studio
Run the tutorial examples, for eample
02_basic
06_reflection
08_intersection
09_motion_blur
10_position_fetch
12_infinite_plan
14_animation
16_ray_query
Step 3 Study the source code of 02_basic
Read 02_basic.cpp to have a sense of Vulkan ray tracing APIs.
Read rtbasic.slang to know the Raygen, Closest hit, Miss shaders.
Note: Slang is a shader language similar to HLSL.