Advertisement

Primitive Color Problems after texture loading

Started by January 21, 2002 01:55 AM
1 comment, last by CodeJedi 23 years, 1 month ago
Hi Everyone, I was wondering if anyone knew how to correct color problems after loading textures. If I load textures and then try to draw a primitive the primitive''s color will be of an intensity proportional to the maximum color values in the last loaded texture. For example if I loaded a dirt brown texture and then tried to draw a bright white triangle the triangle would show up dirt brown. Any suggestions? Thanks, CodeJedi.
begin main loop

enable GL_TEXTURE_2D
draw textured stuff

disable GL_TEXTURE_2D
draw untextured stuff

end main loop


Advertisement
Thanks man! That did the trick.

This topic is closed to new replies.

Advertisement