Vital.sandbox
GFXSSAO

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 be applied
Higher values capture finer geometric details in the occlusion pass

Returns

TypeNameDescription
boolstatustrue on successful execution, or false on failure

Examples

Maximize occlusion detail
gfx.ssao.set_detail(1.0)

On this page