Texture Fog Methods
Textures to encode fog
- 1D, 2D, or 3D texture as fog lookup table
- Map eye position to texture coordinates with GL_EYE_LINEAR texgen
- Use luminance texture with GL_BLEND texture environment and set fog color in texture environment color
- Or an RGBA texture with GL_DECAL mode can encode the fog factor in A and the fog color in RGB