Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 17, 2006, 10:35:53 PM (18 years ago)
Author:
hdavid
Message:

branches\avi_play: disable lighting for the movie_entity

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/avi_play/src/world_entities/movie_entity.cc

    r6508 r6513  
    135135  glRotatef(axis, 0.0f, 1.0f, 0.0f);
    136136//PRINTF(0)("axis: %f\n", axis);
     137
     138  glPushAttrib(GL_ENABLE_BIT);
     139  glDisable(GL_LIGHTING);
     140
    137141  this->material->select();
    138142  glBindTexture(GL_TEXTURE_2D, media_container->getFrameTexture(counter));
     
    145149  glEnd();
    146150
     151  glPopAttrib();
     152
    147153  glPopMatrix();
    148154
Note: See TracChangeset for help on using the changeset viewer.