Changeset 8884 in orxonox.OLD for branches/mountain_lake/src/world_entities/environments/mapped_water.h
- Timestamp:
- Jun 28, 2006, 6:21:24 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/mountain_lake/src/world_entities/environments/mapped_water.h
r8877 r8884 28 28 #include "shader.h" 29 29 30 // forward declaration 31 template <class T> class tAnimation; 30 32 31 33 class MappedWater : public WorldEntity … … 75 77 // fade functions, hacky HACK 76 78 void fadeWaterColor(float r, float g, float b, float time) {this->newWaterColor = Vector(r, g, b); this->colorFadeTime = time; } 77 void fadeShin iness(float shine, float time);79 void fadeShineSize(float shine, float time) {this->newShineSize = shine; this->shineSizeFadeTime = time; } 78 80 void fadeLightPos(float x, float y, float z, float time); 79 81 … … 120 122 Shader::Uniform* refr_uni; //!< uniform that is used for the strength of the refraction 121 123 124 // fading 125 tAnimation<MappedWater>* shineSizeFader; 126 float newShineSize; 127 float shineSizeFadeTime; 128 bool bFadeShineSize; 129 122 130 // skirmish HACK 123 131 Vector newWaterColor; //!< used to fade the water color
Note: See TracChangeset
for help on using the changeset viewer.