Jump to content
  • Advertisement
Sign in to follow this  
Azzazelus_13

lighting

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

I was thinking if its a good idea (or something like this already exists) to make a lightmap in the runtime from shadows and dinamic lights for an object thats lets say farther. For example I need dinamic lighting and shadows on a defined area near the player. The objects that are too far doesnt need realtime computation of lightshould use the lightmap Any hint ? Its a good idea ?

Share this post


Link to post
Share on other sites
Advertisement
umm computing lightmaps isn`t usually real time task(which is an advantage, during runtime "computing" shadows from lightmaps is usually very cheap). take a look at how gothic 3 is doing it. it uses lightmaps as any other game(on every distance), plus it makes dynamic shadows on certain distance to player(using shadow map).

also note that writing a code that makes (nice) lightmaps isn`t easy. read something about it.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • 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!