PDA

View Full Version : transparant textures



12-09-2003, 11:26 AM
Is there any way of making a texture or part of a texture transparant?

sebh
12-09-2003, 12:32 PM
You can use the .tga format who support alpha channels.
There is a lot of library who open tga format(like devil) or you can make your own loader.

cwc36
12-09-2003, 05:03 PM
Hi

glEnable(GL_TEXTURE_2D);
glBlendFunc(GL_SRC_ALPHA,
GL_ONE_MINUS_SRC_ALPHA);