Changeset 8037 in orxonox.OLD for trunk/src/world_entities/environments/mapped_water.h
- Timestamp:
- May 31, 2006, 4:52:34 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/environments/mapped_water.h
r7796 r8037 10 10 #include "world_entity.h" 11 11 #include "material.h" 12 #include "texture.h"13 12 #include "shader.h" 14 13 … … 20 19 21 20 void loadParams(const TiXmlElement* root); 21 22 22 23 23 void activateReflection(); … … 31 31 32 32 private: 33 void setLightPosition(float x, float y, float z) { this->lightPos = Vector(x,y,z); }; 33 34 void setHeight(float height); 34 35 35 36 private: 36 float waterHeight; //!< y-coord of the Water 37 Material mat; 37 float waterHeight; //!< y-coord of the Water 38 38 39 Texture texture; 40 int textureSize; //!< size of the texture 41 Shader* shader; 39 float move; //!< textures coords, speeds, positions for the shaded textures.... 40 float move2; //!< 41 float g_WaterUV; //!< 42 float g_WaterFlow; //!< 43 float refrUV; //!< 44 float normalUV; //!< 45 float kNormalMapScale; //!< 46 47 int textureSize; //!< size of the texture 48 Vector lightPos; 49 Material mat; 50 Shader* shader; 51 Shader::Uniform* cam_uni; //!< uniform that is used for the camera position 42 52 43 53 };
Note: See TracChangeset
for help on using the changeset viewer.