I want to apply a transparent texture to a glQuad, but I am having trouble finding any examples of how to do this, and also what tool can be used to create transparent textures (and what file format’s).
Thanks.
I want to apply a transparent texture to a glQuad, but I am having trouble finding any examples of how to do this, and also what tool can be used to create transparent textures (and what file format’s).
Thanks.
You need to use a texture with an alpha channel, the alpha channel act’s like a mask.
A good example of this is lesson 33 at http://nehe.gamedev.net
TGA file format supports alpha channel and is easy to load, lot’s of examples of loading tga files out there.(also at above site).
Originally posted by mike_p:
[b]I want to apply a transparent texture to a glQuad, but I am having trouble finding any examples of how to do this, and also what tool can be used to create transparent textures (and what file format’s).
Thanks.[/b]