cubos::engine::SSAO struct

Component which stores the SSAO textures for a render target.

Public variables

glm::uvec2 size
Size of the SSAO textures, in pixels.
float resolutionScale
Scale value to configure SSAO texture size.
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.