Lights concept
Hi, I''ve two textured objects, an airplane and the terrain. The airplane gets the light colors of the terrain texture, therefore it looks brown and not silver anymore. Is there a way to forbid terrain texture lights ?
Thanks and excuse my poor english.
bye
i dont think u mean lights
try one/some of these
glColor4f(1,1,1,1)
draw plane
glDisable(GL_LIGHTING)
draw plane
glTexEnvf(GL_TEXTURE_2D, GL_TEX_ENV_MODE, GL_DECAL);
draw plane
glDisable(GL_TEXTURE_2D)
draw plane
http://members.xoom.com/myBollux
try one/some of these
glColor4f(1,1,1,1)
draw plane
glDisable(GL_LIGHTING)
draw plane
glTexEnvf(GL_TEXTURE_2D, GL_TEX_ENV_MODE, GL_DECAL);
draw plane
glDisable(GL_TEXTURE_2D)
draw plane
http://members.xoom.com/myBollux
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement