Jump to content
  • Advertisement

Archived

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

Gammastrahler

OpenGL OpenGL lighting question...

This topic is 6015 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, there again! i know, that by default, light sources illuminate each object, but i want to make a room in which each wall has neon lights that illuminate only the wall that they are on. how can i do this, should i use spot lights? and how can i exceed the 8 lights per hardware limit? or should i use my own static light renderer?

Share this post


Link to post
Share on other sites
Advertisement
Do a search for "lightmapping". In a nutshell, you create a texture representing the area illuminated by the light, and multitexture it onto the wall.

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!