• Advertisement

Archived

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

Colored Triangles with Textured

This topic is 5939 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I''m having a problem getting my colored triangles to appear properly when using a textured image before them. I have a pyramid, the face is using a texture, the other faces are using colored vertices. I''ve enabled Colored Materials, and lighting doesn''t have anything to do with it; when I get rid of the BindTexture function call, the colored triangles appear normally. Can anyone tell me what''s going wrong?

Share this post


Link to post
Share on other sites
Advertisement
glDisable( GL_TEXTURE_2D );

If you are not using texturing then shut it off.

The fanatic is incorruptible: if he kills for an idea, he can just as well get himself killed for one; in either case, tyrant or martyr, he is a monster.
--EM Cioran

Opere Citato

Share this post


Link to post
Share on other sites

  • Advertisement