Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9182 in orxonox.OLD for branches/presentation/src/lib/graphics


Ignore:
Timestamp:
Jul 5, 2006, 3:19:43 AM (18 years ago)
Author:
amaechler
Message:

fixes

Location:
branches/presentation/src/lib/graphics/effects
Files:
2 edited

Legend:

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

    r9112 r9182  
    184184
    185185        if ( this->fogMode == GL_LINEAR)
    186           this->fogFadeEnd = 2000 * ( this->localTimer / this->fogFadeInDuration ) + this->fogEnd;
     186          this->fogFadeEnd = 2000 * ( this->localTimer / this->fogFadeOutDuration ) + this->fogEnd;
    187187        else
    188             this->fogFadeDensity = 1 - (( this->localTimer / this->fogFadeInDuration ) * this->fogDensity);
     188            this->fogFadeDensity = 1 - (( this->localTimer / this->fogFadeOutDuration ) * this->fogDensity);
    189189
    190190        if ( this->localTimer >= this->fogFadeOutDuration )
  • branches/presentation/src/lib/graphics/effects/lightning_effect.cc

    r9112 r9182  
    112112    }
    113113
     114    //should load both texture
    114115    this->thunderTextureA = true;
    115116    this->setTexture();
     117    this->switchTexture();
    116118
    117119    if (this->lightningMove) {
Note: See TracChangeset for help on using the changeset viewer.