Changeset 3952 in orxonox.OLD for orxonox/branches/particleEngine/src/lib/graphics/particles
- Timestamp:
- Apr 25, 2005, 1:10:24 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/particleEngine/src/lib/graphics/particles/particle_system.cc
r3951 r3952 230 230 // glDisable(GL_LIGHTING); 231 231 material->select(); 232 glPushAttrib(GL_ENABLE_BIT);233 glDisable(GL_DEPTH_TEST);234 glDisable(GL_CULL_FACE);235 glDisable(GL_LIGHTING); // will be set back when leaving 2D-mode236 glEnable(GL_TEXTURE_2D);237 238 /* This allows alpha blending of 2D textures with the scene */239 glEnable(GL_BLEND);240 glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);241 242 232 243 233 Particle* drawPart = particles; … … 259 249 glEnd(); 260 250 } 261 glPopAttrib();262 263 251 } 264 252
Note: See TracChangeset
for help on using the changeset viewer.