hey guys…
how can i make any color of my tga texture transparent ???
thanks in advance…
hey guys…
how can i make any color of my tga texture transparent ???
thanks in advance…
You have to turn on blending, I think.
maybe something like this:
glEnable(GL_BLEND);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
glEnable(GL_DEPTH_TEST);
But with blended trinagles you should proceed the following:
if primitives are texture-mapped or not doesn’t matter.
qwert