Updated resolution parameter with an enumerator.
Tried to fix seam issues and maximum resolution possible.
Did change the way it works, using render targets instead of slicing viewport, allowing better face resolution of the cubemap.
Unfortunately the depth buffer had seam with this technique and is very costly in performance for SSAO.
For the moment depth buffer is disabled.
Updated resolution parameter with an enumerator. Tried to fix seam issues and maximum resolution possible. Did change the way it works, using render targets instead of slicing viewport, allowing better face resolution of the cubemap. Unfortunately the depth buffer had seam with this technique and is very costly in performance for SSAO. For the moment depth buffer is disabled.