Skip to content

Latest commit

 

History

History

raymarching

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Raymarching

Raymarching is a rendering method in which rays are "marched" from light sources until they hit something. The path the light ray travels and what it hits affect how the pixel is rendered. To run the examples, open index2D.html or index3D.html in your browser.

2D Raymarching

index2D.html runs an interactive 2D raymarching world, where the algorithm is used to determine when a ray hits a shape. 2D raymarching

3D Raymarching

index3D.html runs an interactice 3D raymarching experience. Here, raymarching is used to render shapes, shadows, specular and diffuse reflections, and glow. The player can be controlled in real time with WASD, SHIFT, and SPACE, and the mouse to look around. 3D raymarching