Changeset 6803 in orxonox.OLD for trunk/src/world_entities/environments
- Timestamp:
- Jan 28, 2006, 11:14:40 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/environments/water.cc
r6780 r6803 185 185 if (State::getSkyBox()) 186 186 { 187 glBindTexture(GL_TEXTURE_2D, State::getSkyBox()->getTexture(SKY_ TOP));187 glBindTexture(GL_TEXTURE_2D, State::getSkyBox()->getTexture(SKY_RIGHT)); 188 188 glTexEnvi(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_MODULATE); 189 189 … … 199 199 //Shader::deactivateShader(); 200 200 201 SkyBox::disableCubeMap(); 201 //SkyBox::disableCubeMap(); 202 glDisable(GL_TEXTURE_GEN_S); 203 glDisable(GL_TEXTURE_GEN_T); 204 202 205 glPopMatrix(); 203 206 }
Note: See TracChangeset
for help on using the changeset viewer.