Vulkan ray tracing glTF 2.0 renderer — RTX path tracer with PBR materials, AI denoising (DLSS, OptiX), and scene editing. NVIDIA open-source sample.
Vulkan ray tracing glTF 2.0 renderer — RTX path tracer with PBR materials, AI denoising (DLSS, OptiX), and scene editing. NVIDIA open-source sample.
Open-source Vulkan RTX path tracer and PBR material reference for glTF 2.0 — with a built-in glTF scene editor for non-destructive hierarchy manipulation, material authoring, and save-back to glTF; AI denoising, and support for 36+ glTF extensions.
| Vulkan RTX Path Tracer & glTF Scene Editor |
|---|
A production-quality Vulkan ray tracing renderer and glTF PBR material reference for glTF 2.0 scenes. Comes with a built-in glTF scene editor — edit scene hierarchies, author PBR materials, apply transforms with a gizmo, and save back to glTF — backed by a high-fidelity RTX path tracer with DLSS Ray Reconstruction and OptiX AI Denoiser. Built for graphics developers who want a reference they can study, profile, and extend.
Built in C++ on nvpro_core2 with Slang shaders. Successor to vk_raytrace.
The demo shows a short end-to-end workflow: switching renderer modes, tuning settings, and inspecting scene content in the integrated editor.
| Requirement | Minimum | Recommended |
|---|---|---|
| OS | Windows 10 / Linux | Windows 11 / Ubuntu 22.04+ |
| GPU | NVIDIA RTX 20-series (Turing) | NVIDIA RTX 40-series (Ada) |
| Driver | 535+ | Latest Game Ready / Studio |
| CMake | 3.22 | 3.28+ |
| C++ Compiler | C++20 (MSVC 2022 / GCC 12 / Clang 15) | MSVC 2022 17.8+ |
| Vulkan SDK | 1.4 | Latest |
# Clone (recommended: siblings; CMake auto-downloads nvpro_core2 if missing)
git clone https://github.com/nvpro-samples/nvpro_core2.git
git clone https://github.com/nvpro-samples/vk_gltf_renderer.git
cd vk_gltf_renderer# Windows
cmake -B build -S . -G "Visual Studio 17 2022" -A x64
cmake --build build --config Release
.\_bin\Release\vk_gltf_renderer.exe# Linux
cmake -B build -S . -G Ninja -DCMAKE_BUILD_TYPE=Release
cmake --build build
./_bin/Release/vk_gltf_renderer| Option | Default | Description |
|---|---|---|
USE_DLSS |
ON |
Enable DLSS Ray Reconstruction integration |
USE_OPTIX_DENOISER |
ON |
Enable OptiX AI Denoiser (requires CUDA Toolkit) |
USE_DRACO |
ON |
Enable Draco mesh compression support |
BUILD_TESTING |
OFF |
Build unit tests and benchmarks |
More features --> User Guide
| Feature | Preview |
|---|---|
| Showcase | |
| Material features | |
| Lighting and camera |
For a full walkthrough of rendering modes, editor workflows, and feature screenshots, see the User Guide.
For headless timing and optional scripted GPU benchmarks, see Benchmarking (utils/benchmark/).
To let an AI agent measure a shader change against the running renderer, launch with --mcp and
see MCP shader timing.
Drive local generative AI from inside the renderer through an optional ComfyUI bridge. Two tools are wired into the in-app Agentic window (press F7):
Generation is entirely optional — the renderer runs without it.
Path-traced renders (left), beautified or restyled by prompt (right):
| Original render | AI result |
|---|---|
Generation needs a local ComfyUI install, the diffusion models, and a small Python bridge that connects it to the renderer. The ComfyUI Agentic Setup guide walks through it end to end:
For the architecture, bridge directory layout, and request/response protocol behind it, see Agentic Workflow.
Reference scope: The list below reflects what this renderer loads and displays. The path tracer is the authoritative PBR implementation — especially for ray-traced material evaluation, sampling, and new extensions (e.g. KHR_materials_retroreflection). The rasterizer is a preview path for interaction, not the primary material reference.
No open issues yet, or sync has not completed.