Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 30, 2006, 6:32:51 PM (19 years ago)
Author:
stefalie
Message:

branches/water: everything fine so far, but i need another TextureUnit

File:
1 edited

Legend:

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

    r7983 r7986  
    2020    void loadParams(const TiXmlElement* root);
    2121
     22
    2223    void activateReflection();
    2324    void deactivateReflection();
     
    3031
    3132  private:
     33    void setLightPosition(float x, float y, float z) { this->lightPos = Vector(x,y,z); };
    3234    void setHeight(float height);
    3335
     
    4446
    4547    int                 textureSize;                //!< size of the texture
     48    Vector              lightPos;
    4649    Material            mat;
    4750    Shader*             shader;
    48     Shader::Uniform*    uni;
     51    Shader::Uniform*    cam_uni;                        //!< uniform that is used for the camera position
    4952
    5053};
Note: See TracChangeset for help on using the changeset viewer.