Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 1, 2006, 11:12:42 AM (18 years ago)
Author:
amaechler
Message:

branches/atmospheric_engine: sound now with gain control, new cloud thoughts / todo..maaaan

File:
1 edited

Legend:

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

    r8023 r8052  
    3535CREATE_FACTORY(RainEffect, CL_RAIN_EFFECT);
    3636
    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 velocity
     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, benchmark, possible to activate lightening, turn off visibility when in a building, variable emitter size depending on playable, also rain velocity
    3838
    3939RainEffect::RainEffect(const TiXmlElement* root)
     
    139139        this->emitter->setSpread(this->rainWindForce / 50, 0.2);
    140140       
    141         this->soundSource.loop(this->rainBuffer);
     141        this->soundSource.loop(this->rainBuffer, 0.8f);
    142142        if (this->rainWindForce > 0)
    143                 this->soundSource.loop(this->windBuffer);
     143                this->soundSource.loop(this->windBuffer, 0.5f);
    144144}
    145145
Note: See TracChangeset for help on using the changeset viewer.