Skip to content

TheAllenChou/unity-ray-marching

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unity Ray Marching - My Sandbox for Learning Ray Marching

by Ming-Lun "Allen" Chou / AllenChou.net / @TheAllenChou / Patreon

This project has been forked into MudBun, a volumetric VFX tool for Unity inspired by Clayxels.

Features

  • Smooth Boolean operations: union, subtraction, intersection.
  • Heat maps: number of ray steps & number of SDF evaluations.
  • Final rendered image entirely generated using compute shader.

Optimization Techniques

  • Bounding volume hierarchy (BVH) using dynamic AABB trees.
  • AABB query & ray query against AABB trees on GPU.

References & Resources

About

Ray marching sandbox

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published