C++ Apache-2.0

vk_raytracing_tutorial_KHR

Ray tracing examples and tutorials using VK_KHR_ray_tracing

N

nvpro-samples

Dernière activité 20 sept. 2026
nvpro-samples/vk_raytracing_tutorial_KHR

1,7 k

étoiles

173

forks

3

issues ouvertes

raytracingtutorialvulkan

Ce README est souvent en anglais.

logo

NVIDIA Vulkan Ray Tracing Tutorials (v2.0)

License Vulkan Platform CMake Shaders Documentation

resultRaytraceShadowMedieval

Convert a modern Vulkan 1.4 rasterization application into a fully functional ray tracer through 8 progressive, compilable phases, then explore 20+ focused samples covering reflections, motion blur, ray queries, callable shaders, opacity micro-maps, and more. Built on the VK_KHR_acceleration_structure, VK_KHR_ray_tracing_pipeline, and VK_KHR_ray_query extensions.


Before (rasterization) After (ray tracing)
Phase 0 raster Phase 8 ray traced

Quick Start

Prerequisites

Build

From an empty parent directory that will hold both repos side-by-side:

git clone https://github.com/nvpro-samples/nvpro_core2.git
git clone https://github.com/nvpro-samples/vk_raytracing_tutorial_KHR.git

cd vk_raytracing_tutorial_KHR
cmake -B build -S .
cmake --build build -j 8

Compiled binaries are placed in the _bin directory.

Looking for the Original?

The legacy pre-v2.0 tutorial is on the master branch.

  • vk_gltf_renderer — Production-ready Vulkan ray/path tracer with full glTF 2.0 support, IBL, denoising, and post-processing.
  • vk_mini_samples — Comprehensive collection of focused Vulkan samples beyond ray tracing.

Projets similaires

One stop solution for all Vulkan samples

C++best-practicescppgraphics
KKhronosGroup
5,4 k étoiles839

Realtime GPU path tracer based on D3D12 and Vulkan

C++3dcppd3d12
AAlexanderVeselov
343 étoiles36

Sample for cluster-based continuous level of detail rasterization or ray tracing

C++mesh-shadersray-tracingreal-time-ray-tracing
Nnvpro-samples
197 étoiles15