blending textured square.

Started by
0 comments, last by griffenjam 21 years, 5 months ago
I''m writing a particle engine but am having some problems. Whenever I use textured squares (GL_TRIANGLE_STRIP) they don''t blend proberly. The black square around the flare will overlap other flares. But when I switch to colored squares (disable textures) they blend proberly. I changed most of my code to match NeHe''s tutorial and I get the same problem, his program is fine, mine looks like crap. What could I be doing wrong? Jason Mickela ICQ : 873518 Excuse my speling. Vallejo Punk The V-Town Have-Nots Eskapo
"I don''t have to take this, I''m going to where I''m appreciated, my mom''s house"
"The paths of glory lead but to the grave." - Thomas GrayMy Stupid BlogMy Online Photo Gallery
Advertisement
Ok, I fixed it, I had to disable depth testing.

Does enableing/disableing depth testing all the time give a big performance hit?

Jason Mickela
ICQ : 873518
Excuse my speling.

Vallejo Punk
The V-Town Have-Nots
Eskapo

"I don''t have to take this, I''m going to where I''m appreciated, my mom''s house"
"The paths of glory lead but to the grave." - Thomas GrayMy Stupid BlogMy Online Photo Gallery

This topic is closed to new replies.

Advertisement