struct
#include <engine/render/ssao/ssao.hpp>
SSAO Component which stores the SSAO textures for a render target.
Public variables
- glm::uvec2 size
- Size of the SSAO textures, in pixels.
- int samples
- Number of samples to use.
- float radius
- Radius parameter.
- float bias
- Bias parameter.
-
core::
gl:: Framebuffer baseFramebuffer - Framebuffer used to draw to the base SSAO texture.
-
core::
gl:: Framebuffer blurFramebuffer - Framebuffer used to draw to the base SSAO texture.
-
core::
gl:: Texture2D baseTexture - SSAO base texture.
-
core::
gl:: Texture2D blurTexture - SSAO blurred texture.