Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 15, 2006, 6:30:28 PM (18 years ago)
Author:
stefalie
Message:

water: diner time :)

File:
1 edited

Legend:

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

    r8488 r8489  
    4141  /// loads the textures
    4242  // set up refleciton texture
    43   //Texture texture(GL_TEXTURE_2D, this->textureSize, this->textureSize, channels, type);
    44   //mat.setDiffuseMap(texture, 0);
     43  //Texture reflTex(GL_TEXTURE_2D, this->textureSize, this->textureSize, channels, type);
     44  //mat.setDiffuseMap(reflTex, 0);
    4545  mat.setDiffuseMap("pictures/refl.bmp", GL_TEXTURE_2D, 0);
    4646  // load refraction texture
     47  //Texture refrTex(GL_TEXTURE_2D, this->textureSize, this->textureSize, channels, type);
     48  //mat.setDiffuseMap(refrTex, 1);
    4749  mat.setDiffuseMap("pictures/refr.bmp", GL_TEXTURE_2D, 1);
    4850  // load normal map
     
    245247{
    246248  // makes the water flow
     249  // TODO change it so that the waterflow doesnt depend on the frame rate
    247250  this->move += this->g_WaterFlow;
    248251  this->move2 = this->move * this->kNormalMapScale;
Note: See TracChangeset for help on using the changeset viewer.