Advertisement

stexturing problems

Started by July 26, 2002 03:49 AM
0 comments, last by sergil 22 years, 7 months ago
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!!
I think, you should enable GL_COLOR_MATERIAL
But I''m not sure!
Test it out.

PM
PM Times change... Excuse my poor english!

This topic is closed to new replies.

Advertisement