Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

branches/atmospheric_engine: cloud effect

File:
1 edited

Legend:

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

    r8771 r8781  
    6464  { this->scale = scale; }
    6565 
     66  inline void setCloudColor(float colorX, float colorY, float colorZ)
     67  { this->cloudColor = Vector(colorX, colorY, colorZ); }
     68 
     69  inline void setSkyColor(float colorX, float colorY, float colorZ)
     70  { this->skyColor = Vector(colorX, colorY, colorZ); }
     71 
    6672  inline void setPlanetRadius(float planetRadius)
    6773  { this->planetRadius = planetRadius; }
     
    7581  virtual void draw() const;
    7682  virtual void tick(float dt);
     83 
     84 
    7785
    7886  void make3DNoiseTexture();
     
    8997  bool             cloudActivate;
    9098  float            animationSpeed;
     99  Vector           cloudColor;
     100  Vector           skyColor;
    91101
    92102  // Material                 cloudMaterial;
     
    97107  Shader::Uniform* offset;
    98108  Shader::Uniform* skycolor;
     109  Shader::Uniform* cloudcolor;
    99110  float            offsetZ;
    100111  float            scale;
Note: See TracChangeset for help on using the changeset viewer.