← All work

RT-Core Voxel Ray Tracing

Hardware BVH traversal to the brick, DDA inside it.

When
Jun – Jul 2026
Stack
Rust · Vulkan
Captures
20

A hybrid voxel tracer: the GPU's ray tracing cores traverse a BVH built over occupied voxel bricks, and a DDA walk finishes the job inside each brick. Hardware handles the sparse, empty space; DDA handles the dense part.

What I built

  • BVH of axis-aligned bricks, traversed by hardware RT cores.
  • Amanatides-Woo DDA inside each hit brick to find the exact voxel.
  • Heatmap debug views of traversal cost to find hot spots.
  • Shadows, ambient occlusion, and textured materials on top.