Reb_Crush
06-14-2001, 12:10 PM
Hello all,
In my code I am loading textures from file in RGBA format. Now I was wondering how I could use the A element to set the transparency of the texel. I have tried using GL_Blend in glTexEnvf, but the image looks all screwed up then( I think it's being inverted ), though any of the other functions works fine( but doesn't do transparency ). How should I get this to work properly?
Thsnks,
Reb Crush
In my code I am loading textures from file in RGBA format. Now I was wondering how I could use the A element to set the transparency of the texel. I have tried using GL_Blend in glTexEnvf, but the image looks all screwed up then( I think it's being inverted ), though any of the other functions works fine( but doesn't do transparency ). How should I get this to work properly?
Thsnks,
Reb Crush