Advertisement

Lights concept

Started by November 30, 2000 04:55 PM
1 comment, last by penetrator 23 years, 11 months ago
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
Advertisement
Is that the method for environment mapping, or what? If it isn''t, does anybody know the method for environment mapping? If it is, could you expand apon it?

Thanks

L8r,
The Rainmaker

This topic is closed to new replies.

Advertisement