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

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.

Jan 08, 2008 | Read article... | Permalink

Read more OpenGL news

Vulkan DevU
Khronos at GDC 2017