Jump to content
  • Advertisement

Archived

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

penetrator

Lights concept

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

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

Share this post


Link to post
Share on other sites
Advertisement
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

Share this post


Link to post
Share on other sites
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

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!