Realtime irradiance

Realtime irradiance

…and (almost) for free! :)

Je,je Simple ideas are the best. By only adding to the SSAO shader 2 lines of code we can get local irradiance by free (taking count the color too).

This is the realtime radiance calculation:

albedo:

Ambient occlusion + irradiance + shadows = Global ilumination?? :)

Author Bio

2 Comments

  1. Alejandro - January 27, 2010

    Hi there!.
    How do you achieve the irradiance? When fetching DepthMap samples for AO also fetch the color for that same pixel?

Leave a reply

Current day month ye@r *