[SDL] OpenGL, SDL and Transparent TGAs

Stephen Sweeney stephen.sweeney at parallelrealities.co.uk
Sun Aug 6 03:27:28 PDT 2006


Hi,

Does SDL preserve the alpha channel in TGAs when loading images..? I'm 
attempting to load a TGA with an alpha channel, turn it in to a texture and 
then use it in OpenGL with the alpha preserved. (for things like metal 
grills, etc).

Anyone got any code I could take a look at...?

Steve :)




More information about the SDL mailing list