Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

water: param reset functions work, the fade functions are next

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/water/src/world_entities/environments/mapped_water.h

    r8729 r8788  
    5454  void setWaterColor(float r, float g, float b) { this->waterColor = Vector(r,g,b); };
    5555
     56  // functions to change water parameters during runtime
     57  // to reset waterUV and waterFlow just use the normal set functions
     58  void resetWaterColor(float r, float g, float b);
     59  void resetShininess(float shine);
     60  void resetLightPos(float x, float y, float z);
     61
    5662private:
    5763  void initParams();
     
    8086  Shader::Uniform*    color_uni;              //!< uniform that is used for the watercolor
    8187  Shader::Uniform*    shine_uni;              //!< uniform that is used for the specular shininessd of the water
     88 
     89 
     90  int tempcounter;
    8291};
    8392
Note: See TracChangeset for help on using the changeset viewer.