May
6
2019

Ray Marching

rays doing marching

Tested ray marching in Unity after watching this episode of The Coding Train.

Source code:
https://gist.github.com/unitycoder/7120e492deba748dba3d4e1e424d3c2a

Usage:
Set camera to 0,0,-10
Projection: Orthographic
Then Place spheres under empty gameobject, with sphere z values at 0

My hierarchy setup




About the Author:

.fi

Leave a comment

Connect

Twitter View LinkedIn profile Youtube Youtube Join Discord Twitch Instagram

UnityLauncherPro

Get UnityLauncherPRO and work faster with Unity Projects!
*free unity hub alternative

@unitycoder_com

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.