Displaying text that is uneffected by lights

Hi,

Just a quick question. I am using a bitmapped font to display some text in my OpenGL window. The problem is that it’s being effected by the lights, and because of it’s position in the window is hard to see unless lighting is disabled.

How can I display some text on the screen that is not affected by the lights.

Thanks.

Aaron

i think this might work
glPushAttrib(GL_LIGHTING_BIT);
glDisable(GL_LIGHTING);
drawText();
glPopAttrib();