Skip to content

conradplake/ray-marching-shader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ray-marching-shader

A gframe shader to render surfaces using signed distance functions.

Comes with a simple test app showing a sphere and cube above a ground plane with soft shadows enabled.

alt text

Camera control

  • use WASD keys to move the camera
  • hold left mouse button and move mouse to rotate the camera
  • hold right mouse button and move mouse to shift camera in x,y-directions

Light source control

  • use arrow keys to move light source left/right/up/down
  • use PageUp/PageDown to move light source in z-direction

General

  • press R to reset the scene
  • press ESC to quit

About

A gframe shader to render surfaces using signed distance functions

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages