OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

OpenGL Headline News

Building Worlds With Distance Functions in GLSL

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.

May 28, 2013 | Read article... | Permalink

Read more OpenGL news