Colored Triangles with Textured
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?
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
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
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement