This release adds a new rendering submodule - SSAO (screen-space ambient occlusion).
EnableGBuffer
to BBMOD_Renderer
, which enables rendering into a G-buffer surface in the deferred pass.GBufferScale
to BBMOD_Renderer
, which is a resolution multiplier for the G-buffer surface.EnableSSAO
to BBMOD_Renderer
, which enables screen-space ambient occlusion. This requires G-buffer and the SSAO submodule!SSAOScale
to BBMOD_Renderer
, which is a resolution multiplier for SSAO surface.SSAORadius
to BBMOD_Renderer
, which is a screen-space radius of SSAO.SSAOPower
to BBMOD_Renderer
, which is the strength of the SSAO effect.SSAOAngleBias
to BBMOD_Renderer
, which is SSAO angle bias in radians.SSAODepthRange
to BBMOD_Renderer
, which is the maximum depth difference of SSAO samples. Samples farther way from the origin than this will not contribute to the effect.bbmod_ssao_draw
, which renders SSAO into a surface.Copyright © 2023, BlueBurn. Built on September 11, 2023 using GMDoc.