Vital.sandbox
GFXSSAO

gfx.ssao.set_intensity

Client

Sets the intensity of the SSAO post-processing effect


Syntax

local status = gfx.ssao.set_intensity(value)

Parameters

TypeNameDescription
floatvalueIntensity value to be applied
Higher values produce darker and more pronounced occlusion shadows

Returns

TypeNameDescription
boolstatustrue on successful execution, or false on failure

Examples

Set a strong occlusion intensity
gfx.ssao.set_intensity(3.0)

On this page