Trigve
December 19th, 2005, 08:58 AM
Hello
I have a problem with setting transparent color in texture using OpenGL. I have a 24 bit TGA file without alpha, where i have 80 textures of size 64x64 in which each texture has black color as transparent color. I want to load each texture as one separate OGL texture making the black color transparent. I think it could be done with glTexEnv() function but don't know how, resp. have tried but without succes.
Thanks Trigve
I have a problem with setting transparent color in texture using OpenGL. I have a 24 bit TGA file without alpha, where i have 80 textures of size 64x64 in which each texture has black color as transparent color. I want to load each texture as one separate OGL texture making the black color transparent. I think it could be done with glTexEnv() function but don't know how, resp. have tried but without succes.
Thanks Trigve