Skip to content

alelenv/vk_raytracing_tutorial

 
 

Repository files navigation

logo

NVIDIA Vulkan HLSL Ray Tracing Tutorials

The focus of this project and the provided code is to showcase a basic integration of ray tracing within an existing Vulkan sample, using the VK_NV_ray_tracing extension and HLSL sources via DXC. The following tutorials starts from a the end of the previous ray tracing tutorial and provides step-by-step instructions to modify and add methods and functions. The sections are organized by components, with subsections identifying the modified functions.

This project contains multiple tutorials all around Vulkan ray tracing.

Instead of having examples fully functional, those tutorial starts from a program and guide the user to add what is necessary.

All HLSL sources are pre-compiled to SPIR-V under Shaders folder.

Ray Tracing Tutorial

The first tutorial is starting from a Vulkan code example, which can load multiple OBJ and render them using the rasterizer, and adds step-by-step what is require to do ray tracing.

resultRaytraceShadowMedieval

Going Further

From this point on, you can continue creating your own ray types and shaders, and experiment with more advanced ray tracing based algorithms.

About

Vulkan HLSL ray tracing tutorials

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 77.8%
  • HLSL 13.7%
  • CMake 6.5%
  • GLSL 2.0%