PDA

View Full Version : Bitmapped Fonts are dark...



kabir
09-18-2001, 08:35 PM
Hiya,

So I'm using wglUseFontBitmaps() to create my text bitmaps, and then glCallLists() to get them to display. Everything works fine, but the colors are at about 50% brightness. White comes out grey, etc.

I've done some searching through the archives, but the only thing I found that seemed related was a recommendation to avoid casting the data to a larger type (ie char to GL_UNSIGNED_INT) in glCallLists(). Sadly, that's not the problem I'm experiencing. To double check, I chagned GL_UNSIGNED_BYTE to GL_UNSIGNED_INT and things got much, much darker. I then changed it to GL_BYTE, which seemed to have no effect (everything was still at about 50% brightness...).

Any ideas on what might be wrong would be _very_ helpful...

kabir
09-18-2001, 09:34 PM
Right, so I figured out the problem... I had typo'd while trying to disable lighting, so my bitmap was getting backlit... oops! http://www.opengl.org/discussion_boards/ubb/wink.gif