Showing posts with label distance fields. Show all posts
Showing posts with label distance fields. Show all posts

Saturday, 19 March 2016

Raymarching Distance Fields

Here's some old graphics programming stuff.

It's rendered with a GLSL fragment shader, and the camera can be moved around with the keyboard.

The geometry is represented with distance fields, and rendered using raymarching. It has phong shading, soft shadows, reflection and ambient occlusion.