Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Loading

 

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 | Category: Developers

Comments

<< Back to main

 
Column Footer