Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6763 in orxonox.OLD for trunk/src/lib/graphics/importer


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

trunk: setting lighting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/graphics/importer/material.cc

    r6651 r6763  
    9595{
    9696  // setting diffuse color
    97   glColor3f (diffuse[0], diffuse[1], diffuse[2]);
    98   glMaterialfv(GL_FRONT, GL_DIFFUSE, this->diffuse);
     97  glColor4f (diffuse[0], diffuse[1], diffuse[2], this->transparency);
     98//  glMaterialfv(GL_FRONT, GL_DIFFUSE, this->diffuse);
    9999
    100100  // setting ambient color
Note: See TracChangeset for help on using the changeset viewer.