OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Loading

OpenGL Headline News

GLSL Fog Tutorial

Category: DevelopersComments

Jan 08, 2008

Here is a tutorial that shows how to implement fog in OpenGL Shading Language. Fog equations are explained and per-vertex and per-pixel fog GLSL shaders are detailed. Several simple demos are provided to illustrate all concepts.

Read more OpenGL news