Writing a ray marcher in Unity @TheArtofCodeIsCool
Writing a ray marcher in Unity  @TheArtofCodeIsCool
Uploaded December 2019 | Updated November 2026, 6 hours ago
In this video we'll code a ray marcher inside of a shader in Unity that allows you to render 3d objects on the surface of other 3d objects, like a hologram!

Twitter: @The_ArtOfCode
Facebook: facebook.com/groups/theartofcode
Patreon: patreon.com/TheArtOfCode
ShaderToy: shadertoy.com/user/BigWIngs
PayPal Donation: paypal.me/theartofcode


A Unity package with the shader is available for everyone on Patreon.


 Ray Marching is explained in detail here:
youtube.com/watch?v=PGtv-dBi2wE


Sphere, Torus and other distance function are explained here:
youtube.com/watch?v=Ff0jJyyiVyw
Writing a ray marcher in UnityShader Showcase: HODLShader Showcase: Up in flamesLive Coding: 3d Truchet WeaveShader Showcase: Danger NoodleHow to texture a procedural objectShader Coding: Ray Marching Tips & TricksHexagonal Tiling Explained!The Drive Home - ShaderToyShader Coding: Over the Moon - Part 2Function Smoothing Explained!Shader Showcase: Wait.. what? CyberTruck!
The Art of Code |

Writing a ray marcher in Unity

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER