Voltar ao ranking

nvpro-samples/vk_raytracing_tutorial_KHR

C++nvpro-samples.github.io/vk_raytracing_tutorial_KHR/

Ray tracing examples and tutorials using VK_KHR_ray_tracing

raytracingvulkantutorial
Crescimento de estrelas
Estrelas
1.7k
Forks
172
Crescimento semanal
Issues
1
5001k1.5k
mar. de 2020abr. de 2022jun. de 2024jul. de 2026
README

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.


Start the Progressive Tutorial  ·  Browse Samples  ·  Documentation

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.
Repositórios relacionados
RayTracing/raytracing.github.io

Main Web Site (Online Books)

HTMLCreative Commons Zero v1.0 Universalbookraytracing
raytracing.github.io
10.5k1k
turanszkij/WickedEngine

3D engine with modern graphics

C++MIT Licensedirectx12vulkan
wickedengine.net
7.2k756
ssloy/tinyraytracer

A brief computer graphics / rendering course

C++c-plus-plusgraphics
github.com/ssloy/tinyraytracer/wiki
5.3k351
ProjectPhysX/FluidX3D

The fastest and most memory efficient lattice Boltzmann CFD software, running on all GPUs and CPUs via OpenCL. Free for non-commercial use.

C++Othercfdcomputational-fluid-dynamics
youtube.com/@ProjectPhysX
5.2k468
f3d-app/f3d

Fast and minimalist 3D viewer.

C++BSD 3-Clause "New" or "Revised" Licensestl-viewergltf-viewer
f3d.app
4.6k436
DiligentGraphics/DiligentEngine

A modern cross-platform low-level graphics library and rendering framework

BatchfileApache License 2.0gamedevopengl
diligentgraphics.com/diligent-engine/
4.4k385
gkjohnson/three-mesh-bvh

A BVH implementation to speed up raycasting and enable spatial queries against three.js meshes.

JavaScriptnpmMIT Licensegraphicsraycast
gkjohnson.github.io/three-mesh-bvh/example/bundle/raycast.html
3.4k331
ssloy/tinykaboom

A brief computer graphics / rendering course

C++graphicsgraphics-programming
github.com/ssloy/tinykaboom/wiki
2.4k109
erichlof/THREE.js-PathTracing-Renderer

Real-time PathTracing with global illumination and progressive rendering, all on top of the Three.js WebGL framework. Click here for Live Demo: https://erichlof.github.io/THREE.js-PathTracing-Renderer/Geometry_Showcase.html

GLSLCreative Commons Zero v1.0 Universalpathtracingraytracing
2.2k197
ekzhang/graphics-workshop

Learn computer graphics by writing GPU shaders!

GLSLMIT Licenseglslshaders
github.com/ekzhang/graphics-workshop
2.2k212
gkjohnson/three-gpu-pathtracer

Path tracing renderer and utilities for three.js built on top of three-mesh-bvh.

JavaScriptnpmMIT Licensepath-tracingraytracing
gkjohnson.github.io/three-gpu-pathtracer/example/bundle/index.html
1.8k166
0beqz/realism-effects

SSGI, Motion Blur, TRAA - Effects to enhance your three.js scene's realism

RoffMIT Licenseantialiasingglobal-illumination
realism-effects-obeqz.vercel.app
1.7k93