Advertisement

DrawText from Nehe and Gametutorials.com problem

Started by June 11, 2002 09:01 AM
0 comments, last by DarkKiller 22 years, 8 months ago
Hi, When I just copy the DrawText-Code from GameTutorials.com into my code and do some changing to get it to work I get a problem: I cannot set the color of the text. I can set glColor3d(1,1,1); Now my drawn text is brown. When I set glColor3f(0,0,0); my text seems to be blended (it''s brown but because of the textured object behind it) When the object is gone and the text is in front of the black background the text is gone, too. But I have not set up blending yet. (no glEnable(GL_BLEND); ) Nearly the whole code comes from GameTutorials.COM and they can change the color like I want....
DarkMcNugget next time... ;)
Be sure you disabled texturing before starting to draw your text

This topic is closed to new replies.

Advertisement