Jump to content

  • Log In with Google      Sign In   
  • Create Account

#Actualincertia

Posted 27 March 2013 - 09:48 PM

try setting all your matrices to identity matrices right before you draw the text. You might be translating the text without your knowing.

EDIT: Also, it appears as if glColor and glRasterPos are not OpenGL 4 compliant. They may have been deprecated because I can't seem to find them here.

EDIT2: Lighting and texturing may also effect the color of your text because it seems when lighting is on, a lighting equation is used to compute a new primary color for the rasterized pixel.

#2incertia

Posted 27 March 2013 - 09:44 PM

try setting all your matrices to identity matrices right before you draw the text. You might be translating the text without your knowing.

EDIT: Also, it appears as if glColor and glRasterPos are not OpenGL 4 compliant. They may have been deprecated because I can't seem to find them here.

#1incertia

Posted 27 March 2013 - 09:37 PM

try setting all your matrices to identity matrices right before you draw the text. You might be translating the text without your knowing.

PARTNERS