Archived

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

OnANeedToKnow

texture mapping/lightinh problem

Recommended Posts

If you mean you apply a texture to one object and objects that shouldn''t be textured change to the colour of the texture then the solution is to disable texturing before drawing untextured objects. Remember that OpenGL is state machine. When you enable texturing it remains enabled until you disable it. When you specify a texture coordinate it applies to every vertex until you change it.

Enigma

Share this post


Link to post
Share on other sites