Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6764 in orxonox.OLD for trunk/src/lib/graphics/light.cc


Ignore:
Timestamp:
Jan 26, 2006, 11:08:20 AM (18 years ago)
Author:
bensch
Message:

trunk: better lighting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/graphics/light.cc

    r6763 r6764  
    222222  glEnable (GL_LIGHTING);
    223223  glEnable ( GL_COLOR_MATERIAL ) ;
    224   glColorMaterial ( GL_FRONT_AND_BACK, GL_AMBIENT_AND_DIFFUSE ) ;
     224  glColorMaterial ( GL_FRONT, GL_DIFFUSE ) ;
    225225
    226226  this->setAmbientColor(.3, .3, .3);
Note: See TracChangeset for help on using the changeset viewer.