Fix SSAO render pass
Fixes 3 issues in the SSAO shader:
- Use texture formats (RGBA16F) required to be color-renderable in the OpenGL specification (see
Req. Rend.
column in the table below) instead of RGB16F - Remove depth texture after
RenderDelegate
because it is read in theRenderSSAO
pass, which can cause problems in some OpenGL implementations - Fix implicit conversions from
ivec2
tovec2
in the GLSL code
Edited by Michael Migliore