Original Post
🔒 Locked
Color problem
Advertisement
I do, but the problems seems to be in the color of primitives such as lines or even bitmaps. If a draw a red line(1.0,0.0,0.0) it gets dark. It´s not an alpha problem, i tried to disable alpha and i´ve got the same result. I tried with different images and the darkness change, dont know why, even with images taken with the same camera.
Thanks.
Thanks.
Quote:That's all correct except instead of binding texture object 0 (the default texture) you should disable texturing when it is not needed.
Original post by Beco
The problem could be that after you have drawn a textured face, you are trying to draw a simple coloured one without texture but the texture remains bounded. Try to use glBindTexture(GL_TEXTURE_2D, NULL) if you don't want to use the texture anymore. It will solve the problem.
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement