Ray Marcher
Jun 9th, 2019
What Is This?
A little ray marching tech demo! It works similar to a ray tracer, but uses signed distance functions to determine if a ray hits an object. The benefit of doing it this way is that you can create some cool effects by modifying how you combine or blend these functions. My favorite is Taffy + X-Ray shading :)
How Long Did It Take?
5 Days
How Many Lines of Code?
478
Resources?
Coding Adventures: Ray Marching
Distance Functions
Smoothed Min Function
Volumetric Rendering: Raymarching
Ray Marching and Signed Distance Functions