PDA

View Full Version : Fontmap problem (flipcode COTD)



kaysoft
11-17-2002, 05:05 AM
Im having a problem, which already exists at the COTD i downloaded from flipcode. It is the CFontmap class, which creates a texture font from a TTF one (no TGA loading). You see, the font when rendered is 50% - 70% darker than it should be. I set the color to 1,1,1,1 and it looks like gray, white darker. I have disabled lighting, culling, depth test, enabled blending to a mode of SRC_COLOR, ONE_MINUS_SRC_COLOR, but the alpha is 1, so that is not transparent. Any ideas??