Screen Space Cubemap Occlusion

Screen Space Cubemap Occlusion

Bent normals only

Since “Bent Normals and Cones in Screen-space”, it’s common to store the average unoccluded direction for light evaluation or pre-convoluted cubemap lookups. This creates colored shadows and cubemap lookups around edges, but did not help us to improve the overall image quality significantly, which might correlate with the fact that we use a comparably low amount of pointlights in the scene who could benefit from bent normals.

wbent1
Bent normals
wobent1
Normal normals

Subtracted Cubemap occlusion

We extended the technique by introducing a second cubemap lookup, which should subtract the occluded influence.  We approximate the angle with

The final diffuse component is therefore calculated as:

This leads to a great improvement compared by a single bent cube lookup or even simple “darkening” ambient occlusion. Notice that occluders, which do not occlude areas that emit light do not have a darkening impact on the fragment. This leads to a great soft shadow-like shape in the surrounding of the pillar in the first picture, because almost no light comes from the left side of the image.

1 (2) 1 (1)

2 (1)2 (2)

3 (1) 3 (2)

Leave a Reply

Your email address will not be published. Required fields are marked *