Categories: archive |code

OpenGL screencast video tutorial HD 22 - Fog

In this screencast (OpenGL video tutorial), I explain how to use Fog in your OpenGL program.

OpenGL functions used in this screencast: glEnable, glFogi, glFogf, glFogfv

OpenGL parameters used in this screencast: GL_FOG, GL_EXP, GL_EXP2, GL_LINEAR, GL_FOG_DENSITY, GL_FOG_START, GL_FOG_END, GL_FOG_HINT, GL_FOG_COLOR, GL_DONT_CARE

The code is available to download on Github

Watch the Screencast

YouTube