Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 26, 2006, 2:29:33 PM (19 years ago)
Author:
hdavid
Message:

branches/atmospheric_engine: activating rain effect changes the cloud- & skycolor

File:
1 edited

Legend:

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

    r8771 r8787  
    1818class PlainEmitter;
    1919class LightManager;
     20class CloudEffect;
    2021
    2122#include "sound_buffer.h"
     
    8586    this->rainFadeOutDuration = fadeout;
    8687  }
     88 
     89  inline void setCloudColor(float colorX, float colorY, float colorZ)
     90  {
     91    this->cloudColor = Vector(colorX, colorY, colorZ);
     92  }
     93  inline void setSkyColor(float colorX, float colorY, float colorZ)
     94  {
     95    this->skyColor = Vector(colorX, colorY, colorZ);
     96  }
    8797
    8898  inline void setRainOption(const std::string& option)
     
    122132  LightManager*               lightMan;
    123133  GLfloat                     rainAmbient;
     134 
     135  Vector oldSkyColor;
     136  Vector oldCloudColor;
     137  Vector skyColor;
     138  Vector cloudColor;
    124139
    125140};
Note: See TracChangeset for help on using the changeset viewer.