gfx.ssao.set_detail

Client

Sets the detail level of the SSAO post-processing effect


Syntax

local status = gfx.ssao.set_detail(
    value
)

Parameters

TypeNameDescription
floatvalueDetail value to apply
Higher values capture finer geometric details in the occlusion pass

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

Maximize occlusion detail
gfx.ssao.set_detail(1.0)

On this page