Skip to content

Balajanovski/raymarcher-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Graphics Demo

Just a simple demo which displays a SDF raymarched sphere with blinn-phong shading, penumbra shadows and reflections.

The C code is boilerplate to run the OpenGL. The raymarching magic occurs by drawing a rectangle to the screen, and then executing a fragment shader to determine the pixel colours.

Dependencies

  • GLFW
  • OpenGL

Shadertoy

The demo is also displayed on shadertoy.
It can be accessed here.

Screenshot

Screenshot of shader in action

About

Just a simple demo which displays a sphere

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published