Update 12/21/20
I plan to update these samples, migrating to the official extensions and cleaning up the code.
For now I'm archiving this repo until I get to it.
| Sample | Screenshot |
|---|---|
| 01-sample-triangle Simple triangle sample Refs: * https://github.com/iOrange/rtxON/tree/Version_2_2 * https://github.com/SaschaWillems/Vulkan * https://developer.nvidia.com/rtx/raytracing/vkray |
![]() |
| 02-sample-gltf Loads single-mesh gltf file. |
![]() |
| 03-sample-shadows Adds another traceNV call to check if object is in shadow. Also loads multi-mesh gltf. Refs: * GLSL_NV_ray_tracing.txt * gtc 2018 s8521 |
![]() |
| 04-sample-materials Loads baseColorFactor from gltf. Refs: * https://github.com/nvpro-samples/vk_raytrace * https://github.com/maierfelix/tiny-rtx |
![]() |
| 05-sample-texture Loads baseColor texture from gltf. Refs: General (and separate samplers/textures) GL_KHR_vulkan_glsl.txt Vulkan spec chap12 Image view/sampler Understanding alignment GLSL spec variables-and-types GLSL spec Textures https://cc0textures.com |
![]() |
| 06-sample-reflection Adds a trace call from hit shader for non-red materials. |
![]() |
| 07-sample-refraction Refraction. Spheres in image are glass balls. Uses recursive traceNV calls which should go away in next sample. Refs: SO Refract Ray Tracing Weekend Reboot Red Vulkan RTX |
![]() |






