Jump to content
  • Advertisement
Sign in to follow this  
mauro78

Lightmapping & Dynamic Meshes

This topic is 2546 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 All!

I'm polishing a 3D engine that'll be used for an upcoming Indie game prepared for IGF 2012.

Actually we use a deferred renderer for all the direct lighting ( spot/directional/point lights) and we use pre-rendered static lightmap to add some GI light to static objects.

I'd like to use those static lightmap to compute some "realtime" GI light for dynamic meshes. I've heard about using probes/Image based rendering and spherical harmonics....like this post:

http://blogs.unity3d.com/2011/03/09/light-probes/

can somebody point me into the right direction?? I personally like the idea to store irradiance into some probes.

Just links to some paper will be helpful.

Best Regards

Mauro
ion6 Studios

Share this post


Link to post
Share on other sites
Advertisement
If you do a search for "irradiance volume" or "irradiance volumes" should find plenty of reading material.

Share this post


Link to post
Share on other sites

If you do a search for "irradiance volume" or "irradiance volumes" should find plenty of reading material.


[font=arial, sans-serif][size=2]Thank you MJP sure I'll check it for later. [/font]
[font=arial, sans-serif][size=2]I'm going to store precomputed irradiance into a cubemap from lightmaps couse It seems very easy to implement and I'm (as always) short of time.[/font]
[font=arial, sans-serif][size=2]
[/font]
[font=arial, sans-serif][size=2]Regards[/font]
[font=arial, sans-serif][size=2]
[/font]
[font=arial, sans-serif][size=2]
[/font]
[font=arial, sans-serif][size=2]Mauro[/font]
[font=arial, sans-serif][size=2]ion6 Studios[/font]

Share this post


Link to post
Share on other sites
Yeah cubemaps for diffuse irradiance is definitely simple to implement, and even pretty practical if you keep them low resolution. Once you get that working you can start working on projecting them onto SH, and then sampling the SH in your vertex or fragment shader. Then once that's working, you can start to really increase the number of sample points and try things like using a grid of them and interpolating between sample points.

Share this post


Link to post
Share on other sites

Yeah cubemaps for diffuse irradiance is definitely simple to implement, and even pretty practical if you keep them low resolution. Once you get that working you can start working on projecting them onto SH, and then sampling the SH in your vertex or fragment shader. Then once that's working, you can start to really increase the number of sample points and try things like using a grid of them and interpolating between sample points.


Thank you again I'll post some screenshots soon couse the results are pretty darm nice and also Artist are happy too couse they can use lightmaps ^_^ LOL

Regards

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!