Vital.sandbox
GFXSSAO

gfx.ssao.set_channel_affect

Client

Sets the AO channel influence of the SSAO post-processing effect


Syntax

local status = gfx.ssao.set_channel_affect(value)

Parameters

TypeNameDescription
floatvalueInfluence value to be applied
Controls how much the SSAO result blends into the AO channel of materials, affecting surfaces that use ambient occlusion textures

Returns

TypeNameDescription
boolstatustrue on successful execution, or false on failure

Examples

Fully blend ssao into the ao channel
gfx.ssao.set_channel_affect(1.0)

On this page