PDA

View Full Version : Problem to color a line on OpenGL ES



David11
08-19-2016, 05:34 AM
Hi

I've drawn a line over a texture with OpenGL ES, and I want to change the color of this line but when I use 'glColor4f', I can only exploit the shades of grey. I can't have a red line, for example.
Can anyone help me?

Thanks!

Silence
08-19-2016, 05:48 AM
Have you disabled texturing before drawing your line ?

What version of OpenGL ES are you using ?