It renders a buffer with calculated normals for the scene, so that other shaders can sample directly from it, giving a speed boost to all effects that use normals
it fixes a sampling error in the SSAO, giving more accurate results.
SSAO now uses a separable kernel to gain speed by doing a 2 pass AO with 5 samples
SSAO now uses blue noise to randomize its sampling, giving a result that's easier to blur with good results
This PR builds on the commits of PR #92
It renders a buffer with calculated normals for the scene, so that other shaders can sample directly from it, giving a speed boost to all effects that use normals
it fixes a sampling error in the SSAO, giving more accurate results.
SSAO now uses a separable kernel to gain speed by doing a 2 pass AO with 5 samples
SSAO now uses blue noise to randomize its sampling, giving a result that's easier to blur with good results
SSAO blur now uses normals to retain more detail.