Jump to content
  • Advertisement


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


stexturing problems

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

Hello!! I have a problem when I wnat to draw a TGA-textured poly and other non-textured poly (using primitives with color). When I render the textured poly I use glEnable(GL_TEXTURE_2D), and when I want to draw a non-textured poly I use glDisable(GL_TEXTURE_2D) (because if I draw the non-textured poly with glEnable(GL_TEXTURE_2D), I can''t see the true colors of the non-textured poly). When I use glDisable(GL_TEXTURE_2D) and draw the non-textured poly, the color of the textured poly changes,.... whats wrong? Thanks and sorry for my english!!

Share this post

Link to post
Share on other sites
I think, you should enable GL_COLOR_MATERIAL
But I''m not sure!
Test it out.


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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!