Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RayMarching

Launch:

  1. Download the zip from here, unzip it
  2. Start unity hub.
  3. In the menu with projects click ADD
  4. Select the unzipped folder.
  5. If the scene is empty at startup, click on SampleScene in the Project menu.
  6. At the top of the editing window there is a button to switch off the grid if it gets in the way.

The main code you can play with is in RayMarching.shader from 31 to 133 lines, the rest is auxiliary to make the shaders work properly with Unity camera.

About

Ray marching is a powerful rendering technique that allows you to create stunning visuals by directly tracing rays through a scene and calculating intersections with geometric shapes defined by mathematical functions.

Resources

Stars

3 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages