Font Texture format

I’m curious as to how litle information can be used to display font textures in my GUI.

Currently I use GL_LUMINANCE_ALPHA with identical data in my greyscale and alpha channels. I must admin I use someone else’s font file format so I have no idea s to why it’s done this way.

Can I draw text with a GL_LUMINANCE only texture? If so do I need to do anything different?

Many thanks,


I’m not sure about GL_LUMINANCE right now(depends on how you’ll do the blending) but if you have identical components for luminance and alpha you might as well use GL_INTENSITY(wich Mark Kilgard uses in his font api ) which is exactly what you need (i.e. lum. and alpah combined in one component)