Opengl black and white textures
Hello,
The problem is i have a couple of large b/w texture files and i'm trying to find the best way to represent a purely black and white texture in opengl. Reading the opengl Documentation for glTexImage2D, i think most of the formats convert the image into an rgb format to store it in the graphics card. (I Think) but this seems so wasteful is there a better way to do this?
TIA
You should use DXT1 for compressing Black and white textures, beacause it needs only 4 bit per texel. Other textureformats with 1 bit / texel aren't supported in hardware or need 8 bit for a single color (luminance or alpha).
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement