View Full Version : Textures and Lines

08-15-2005, 02:40 AM
Hi everybody,

I am drawing lines on some textures with glBegin(GL_LINES). The color of lines become darker in the darker areas, and lighter in the lighter areas of the texture. I want solid fixed color (red, blue, yellow, whatever I like) lines which will not change according to the pattern of the texture. How can I do that ?


08-15-2005, 05:57 AM
Simply with disabling texturing before rendering the things you want untextured and choosing the appropriate color. Then re-enable texturing when you need them again.

08-15-2005, 10:14 PM
It worked! Thank you very much!

08-17-2005, 02:48 AM
You might also think about disabling lighting as well as texture while drawing you lines