Archived

This topic is now archived and is closed to further replies.

griffenjam

blending textured square.

Recommended Posts

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"

Share this post


Link to post
Share on other sites
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"

Share this post


Link to post
Share on other sites