Jump to content
  • Advertisement


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


Colored Triangles with Textured

This topic is 6180 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
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

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!