Archived

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

xeltar

Colored Triangles with Textured

Recommended Posts

xeltar    122
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
GKW    200
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