OpenGL Headline News
Building Worlds With Distance Functions in GLSL
Category: Developers •
May 28, 2013
Distance functions are very popular in the demoscene world and this article will show you some simple distance functions that allow to model basic shapes (plane, sphere, box, torus) in GLSL. Demos based on the OpenGL Shading Language and Lua programming language are provided.

