Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6729 in orxonox.OLD for trunk/src/lib


Ignore:
Timestamp:
Jan 25, 2006, 6:09:37 PM (19 years ago)
Author:
bensch
Message:

trunk: coloring the Particles

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/particles/sprite_particles.cc

    r6653 r6729  
    109109  GLboolean checkLight = false;
    110110  glGetBooleanv(GL_LIGHTING, &checkLight);
    111 //  if (checkLight == GL_TRUE)
    112 //    glDisable(GL_LIGHTING);
     111  if (checkLight == GL_TRUE)
     112    glDisable(GL_LIGHTING);
    113113  glMatrixMode(GL_MODELVIEW);
    114114  glDepthMask(GL_FALSE);
     
    117117  glBlendFunc(GL_SRC_ALPHA, GL_DST_ALPHA);
    118118
    119   //glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_ENV_MODE, GL_MODULATE);
     119  glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_ENV_MODE, GL_MODULATE);
    120120
    121121
Note: See TracChangeset for help on using the changeset viewer.