Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9201 in orxonox.OLD for branches/presentation/src/lib


Ignore:
Timestamp:
Jul 5, 2006, 10:22:30 AM (18 years ago)
Author:
hdavid
Message:

rain

File:
1 edited

Legend:

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

    r9155 r9201  
    119119    this->emitter = new PlaneEmitter(this->rainSize);
    120120
     121    lightMan = LightManager::getInstance();
    121122}
    122123
     
    190191        CloudEffect::changeSkyColor(this->skyColor, 0.2);
    191192    }
     193   
     194    //lightMan->setAmbientColor(.1,.1,.1);
    192195}
    193196
     
    250253        if (progress >= 1)
    251254            this->rainFadeInActivate = false;
     255       
     256        lightMan->setAmbientColor(1-progress, 1-progress, 1-progress);
    252257    }
    253258
     
    278283            this->deactivate();
    279284        }
     285        lightMan->setAmbientColor(1-progress, 1-progress, 1-progress);
    280286    }
    281287}
Note: See TracChangeset for help on using the changeset viewer.