I wonder how to activate alpha-texture blending (RGBA textures). I have found pieces of examples on the net but nothing seemed to work properly.
My program has two kinds of textures:
1. textures with alpha
2. textures without alpha (but with "normal" background transparency).
How can I activate (and disable) alpha blending of textures on demand?
At the moment I use:
which works fine for transparency, but ignores alpha chanels...
Thanks for every kind of help