Changeset 8781 in orxonox.OLD for branches/atmospheric_engine/src/lib/graphics/effects/cloud_effect.h
- Timestamp:
- Jun 26, 2006, 1:33:56 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/atmospheric_engine/src/lib/graphics/effects/cloud_effect.h
r8771 r8781 64 64 { this->scale = scale; } 65 65 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 66 72 inline void setPlanetRadius(float planetRadius) 67 73 { this->planetRadius = planetRadius; } … … 75 81 virtual void draw() const; 76 82 virtual void tick(float dt); 83 84 77 85 78 86 void make3DNoiseTexture(); … … 89 97 bool cloudActivate; 90 98 float animationSpeed; 99 Vector cloudColor; 100 Vector skyColor; 91 101 92 102 // Material cloudMaterial; … … 97 107 Shader::Uniform* offset; 98 108 Shader::Uniform* skycolor; 109 Shader::Uniform* cloudcolor; 99 110 float offsetZ; 100 111 float scale;
Note: See TracChangeset
for help on using the changeset viewer.