Return to site

Ssao on vs off

broken image
broken image

In its simplest implementation, the occlusion factor depends only on the depth difference between sampled point and current point. For every pixel on the screen, the pixel shader samples the depth values around the current pixel and tries to compute the amount of occlusion from each of the sampled points. The algorithm is implemented as a pixel shader, analyzing the scene depth buffer which is stored in a texture.