Changeset 9201 in orxonox.OLD for branches/presentation/src/lib
- Timestamp:
- Jul 5, 2006, 10:22:30 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/presentation/src/lib/graphics/effects/rain_effect.cc
r9155 r9201 119 119 this->emitter = new PlaneEmitter(this->rainSize); 120 120 121 lightMan = LightManager::getInstance(); 121 122 } 122 123 … … 190 191 CloudEffect::changeSkyColor(this->skyColor, 0.2); 191 192 } 193 194 //lightMan->setAmbientColor(.1,.1,.1); 192 195 } 193 196 … … 250 253 if (progress >= 1) 251 254 this->rainFadeInActivate = false; 255 256 lightMan->setAmbientColor(1-progress, 1-progress, 1-progress); 252 257 } 253 258 … … 278 283 this->deactivate(); 279 284 } 285 lightMan->setAmbientColor(1-progress, 1-progress, 1-progress); 280 286 } 281 287 }
Note: See TracChangeset
for help on using the changeset viewer.