Sign in to follow this  
mauro78

Lightmapping & Dynamic Meshes

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
[quote name='MJP' timestamp='1317667689' post='4868655']
If you do a search for "irradiance volume" or "irradiance volumes" should find [i]plenty[/i] of reading material.
[/quote]

[font=arial, sans-serif][size=2]Thank you MJP sure I'll check it for later. [/size][/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.[/size][/font]
[font=arial, sans-serif][size=2]
[/size][/font]
[font=arial, sans-serif][size=2]Regards[/size][/font]
[font=arial, sans-serif][size=2]
[/size][/font]
[font=arial, sans-serif][size=2]
[/size][/font]
[font=arial, sans-serif][size=2]Mauro[/size][/font]
[font=arial, sans-serif][size=2]ion6 Studios[/size][/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
[quote name='MJP' timestamp='1317714714' post='4868885']
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.
[/quote]

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this