View Full Version : Text Color

02-01-2002, 01:35 AM
Hi everyone, I'm reading Nehe's tutorials and trying to make a small Object Oriented Landscape Engine with OpenGL. My current problem is about displaying text on the screen: following all Bitmap (and/or Outline) Font tutorial steps, I can get text displayed, but it's always of a dark blue color, despite all my Color3f calls immediately before my printText method (perfectly similar to Nehe's one). I've tried everything but nothing seems to work..... http://www.opengl.org/discussion_boards/ubb/frown.gif(((
Can someone help me, please?

02-01-2002, 06:07 AM
Are you using texture-mapping? If so, disable it before you render the text (glDisable(GL_TEXTURE_2D))


02-04-2002, 10:21 PM
Thanks a lot Carl, it works disabling texturing and lighting.