Jump to content
  • Advertisement
Sign in to follow this  
LegACy99

Static lighting and shadow

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

Well, I've been thinking on increasing my game engine's performance, so I decided to do static lighting and shadowing instead of dynamically calculating them in the GPU via shaders. Problem is, I find it kinda to difficult to search for a proper article on this topic. What I'm asking is kinda basic, how to "export" a calculated lighting and shadow map and how to "import" them back? I've seen some article talks about using another texture for light map, but what if I have an room with lighting, would I need to have a unique map for every object in the room? The same goes on with shadow mapping, currently I'm using depth testing to get a shadow map dynamically (render all of them first with "createshadowmap" technique, then render it again using the proper technique and add the shadow map value). Thanks in advance!

Share this post


Link to post
Share on other sites
Advertisement
wow, that was... complete, and complex too. I haven't look at the demo, but how come he can map the light map to the mesh/scene? So far I'm only seeing how he generate that light map.

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!