Archived

This topic is now archived and is closed to further replies.

zip_256

Colors blending...

Recommended Posts

zip_256    122
Whenever I am rendering my screen in OpenGL and I use a color for text or something similar it bleeds over onto all of my bitmap textures on the screen and sort of discolors everything. What would be the cause of this? I am using glColor3ub to define my colors and I am loading the textures without any alpha values. Any suggestions would be helpful. Thanks..

Share this post


Link to post
Share on other sites
zip_256    122
The colors only bleed whenever I enable the textures. The last color in the texture is red and it makes all of my white text and other light objects the same color if they don''t have a texture on them. Thanks!

Share this post


Link to post
Share on other sites
Null and Void    1088
Likewise with colors staying on until you disable them, textures stay enabled (with the last texture coordinate) until you disable them. So, disable the textures when you''re done rendering textured primitives.

Share this post


Link to post
Share on other sites