Changeset 8703 in orxonox.OLD for branches/atmospheric_engine/src/lib/graphics
- Timestamp:
- Jun 22, 2006, 11:15:42 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/atmospheric_engine/src/lib/graphics/effects/fog_effect.cc
r8702 r8703 124 124 if ( this->fogFadeInActivate || this->fogFadeOutActivate ) { 125 125 glDisable(GL_FOG); 126 127 glFogi(GL_FOG_MODE, this->fogMode); 128 glFogfv(GL_FOG_COLOR, fogColor); 129 glHint(GL_FOG_HINT, GL_DONT_CARE); 126 130 glFogf(GL_FOG_DENSITY, this->fogFadeDensity); 131 glFogf(GL_FOG_START, this->fogStart); 132 glFogf(GL_FOG_END, this->fogEnd); 133 127 134 glEnable(GL_FOG); 128 135 }
Note: See TracChangeset
for help on using the changeset viewer.