- Timestamp:
- Feb 26, 2005, 7:14:04 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/skysphere.cc
r3421 r3422 70 70 this->setTexture(fileName); 71 71 this->skyMaterial->setIllum(3); 72 this->skyMaterial->setAmbient( .5, .5, 1.0);72 this->skyMaterial->setAmbient(1.0, 1.0, 1.0); 73 73 } 74 74 … … 112 112 void Skysphere::draw() 113 113 { 114 glEnable(GL_TEXTURE_2D); 114 115 skyMaterial->select(); 115 116 glPushMatrix(); … … 122 123 gluSphere(sphereObj, sphereRadius, 20, 20); 123 124 glPopMatrix(); 125 glDisable(GL_TEXTURE_2D); 126 124 127 } 125 126
Note: See TracChangeset
for help on using the changeset viewer.