bbmod_ssao_draw

function

bbmod_ssao_draw(_radius, _power, _angleBias, _depthRange, _surSsao, _surWork, _surDepth, _matProj, _clipFar)

Description

Renders SSAO into the _surSsao surface.

Arguments

Name Type Description
_radius Real Screen-space radius of the occlusion effect.
_power Real Strength of the occlusion effect. Should be greater than 0.
_angleBias Real Angle bias in radians.
_depthRange Real Maximum depth difference of samples.
_surSsao Id.Surface The surface to draw the SSAO to.
_surWork Id.Surface A working surface used for blurring the SSAO. Must have the same size as _surSsao!
_surDepth Id.Surface G-buffer surface.
_matProj Array<Real> The projection matrix used when rendering the scene.
_clipFar Real Distance to the far clipping plane (same as in the projection used when rendering the scene).
Do you find this page helpful?

Copyright © 2022, BlueBurn. Built on July 23, 2022 using GMDoc.