Changeset 8052 in orxonox.OLD for branches/atmospheric_engine/src/lib/graphics/effects/rain_effect.cc
- Timestamp:
- Jun 1, 2006, 11:12:42 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/atmospheric_engine/src/lib/graphics/effects/rain_effect.cc
r8023 r8052 35 35 CREATE_FACTORY(RainEffect, CL_RAIN_EFFECT); 36 36 37 // TODO: Dim Light with Rain, Finish preCaching, check out if multiple rain emitters work, Think about what happens with building poss. to hang movewithcam off, sound volume,benchmark, possible to activate lightening, turn off visibility when in a building, variable emitter size depending on playable, also rain velocity37 // TODO: Dim Light with Rain, Finish preCaching, check out if multiple rain emitters work, Think about what happens with building poss. to hang movewithcam off, benchmark, possible to activate lightening, turn off visibility when in a building, variable emitter size depending on playable, also rain velocity 38 38 39 39 RainEffect::RainEffect(const TiXmlElement* root) … … 139 139 this->emitter->setSpread(this->rainWindForce / 50, 0.2); 140 140 141 this->soundSource.loop(this->rainBuffer );141 this->soundSource.loop(this->rainBuffer, 0.8f); 142 142 if (this->rainWindForce > 0) 143 this->soundSource.loop(this->windBuffer );143 this->soundSource.loop(this->windBuffer, 0.5f); 144 144 } 145 145
Note: See TracChangeset
for help on using the changeset viewer.