Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8703 in orxonox.OLD for branches/atmospheric_engine/src/lib


Ignore:
Timestamp:
Jun 22, 2006, 11:15:42 AM (18 years ago)
Author:
amaechler
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/atmospheric_engine/src/lib/graphics/effects/fog_effect.cc

    r8702 r8703  
    124124    if ( this->fogFadeInActivate || this->fogFadeOutActivate ) {
    125125      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);
    126130      glFogf(GL_FOG_DENSITY, this->fogFadeDensity);
     131      glFogf(GL_FOG_START, this->fogStart);
     132      glFogf(GL_FOG_END, this->fogEnd);
     133
    127134      glEnable(GL_FOG);
    128135    }
Note: See TracChangeset for help on using the changeset viewer.