IRC Banner
Welcome to the Wolfire Blog! This is where we keep everyone up to date on our progress on Overgrowth and other new stuff. Be sure to subscribe to get the latest news! Also, be sure to check out the forums for even more up to date news - or get on IRC for up to the second updates.

Environment shadows - step 4

Add Comment! By David Rosen on April 10th, 2009

I just started working on baking ambient occlusion into the lightmaps. This is currently performed by accumulating the shadows from 64 random light sources in the sky, and using the resulting ambient occlusion map to modulate the indirect lighting contribution.

Here is what the Foothold map looks like with ambient occlusion enabled (above) and without (below):

Shadow image

Shadow image

It's a fairly subtle effect, but I think it makes it easier to see the spatial relationships in complex scenes like this. Here is what the ambient occlusion map looks like by itself:

Shadow image

Here is a perspective that illustrates why indirect shadows are important. Even without direct sunlight, tunnels and interior areas should be a lot darker than outdoor areas.

Shadow image

There are a lot of other lighting features I could work on, such as radiosity and point light sources, but I think this is all the complexity we need in Overgrowth. It will mostly have outdoor scenes lit by the sun, so those extra features may not be worth the development time.