Changeset 8702 in orxonox.OLD for branches/atmospheric_engine/src/lib/graphics/effects/fog_effect.cc
- Timestamp:
- Jun 22, 2006, 11:12:05 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/atmospheric_engine/src/lib/graphics/effects/fog_effect.cc
r8700 r8702 122 122 123 123 // If Fog Fade 124 if ( this->fogFadeInActivate || this->fogFadeOutActivate ) 125 glFogf(GL_FOG_DENSITY, this->fogFadeDensity); 126 124 if ( this->fogFadeInActivate || this->fogFadeOutActivate ) { 125 glDisable(GL_FOG); 126 glFogf(GL_FOG_DENSITY, this->fogFadeDensity); 127 glEnable(GL_FOG); 128 } 127 129 } 128 130
Note: See TracChangeset
for help on using the changeset viewer.