Problems with tga and blending
I've a little question..
I'm trying to draw the leaves of a tree but I have a problem (with blending maybe).
The leaves texture is a .tga with transparency.
When i draw only one quad it's OK. the problem appears when drawing more than one quad..
Aparently, the last one to be drew mask the other one behind. (The part transparent replace what was behind)
I don't know how to explain it but you can find a screenshot of the problem just under :
T = transparent texture (tga)
B = black texture (tga)
B (behind) + T (front) => T (transparent because T replace the colors behind by "transparency")
T (behind) + B (front) => B (result is black)
Anyway to resolve this problem ?
Hope you can help me soon :-),