3.6.0
This release adds a new rendering submodule - SSAO (screen-space ambient occlusion).
Changelog:
GML API:
Rendering module:
Renderer submodule:
- Added new property
EnableGBuffer
toBBMOD_Renderer
, which enables rendering into a G-buffer surface in the deferred pass. - Added new property
GBufferScale
toBBMOD_Renderer
, which is a resolution multiplier for the G-buffer surface. - Added new property
EnableSSAO
toBBMOD_Renderer
, which enables screen-space ambient occlusion. This requires G-buffer and the SSAO submodule! - Added new property
SSAOScale
toBBMOD_Renderer
, which is a resolution multiplier for SSAO surface. - Added new property
SSAORadius
toBBMOD_Renderer
, which is a screen-space radius of SSAO. - Added new property
SSAOPower
toBBMOD_Renderer
, which is the strength of the SSAO effect. - Added new property
SSAOAngleBias
toBBMOD_Renderer
, which is SSAO angle bias in radians. - Added new property
SSAODepthRange
toBBMOD_Renderer
, which is the maximum depth difference of SSAO samples. Samples farther way from the origin than this will not contribute to the effect.
SSAO submodule:
- Added new submodule - SSAO.
- Added new function
bbmod_ssao_draw
, which renders SSAO into a surface.