Skip to content

cyprus327/Raymarching

Repository files navigation

Raymarching

My foray into Ray Marching, mainly inspired by the game Claybook and random things on Shadertoy.

Features:

  • Soft shadows
  • Any sdf
  • Any operation
  • Per-object color
  • Interaction with the scene during runtime (placing objects, moving objects)

Screenshots:

  • Mandelbulb

rm_mand

  • "Physical" Mandelbulb

rm_phys_mand

  • Anti-Aliasing Enabled vs. Disabled

Enabled rm_aa_enabled Disabled rm_aa_disabled

  • Step Count Visualization (brighter red = higher step count)

rm_step_count

  • Normals Visualization

rm_normals

  • Soft Shadows (still has some artifacts)

rm_soft_shadows_1 rm_soft_shadows_2

Resources

Inigo Quilez | Sebastian Lague | The Art of Code | SimonDev | Raymarching Workshop

License

This project is licensed under the MIT license.