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 apply
Higher values produce darker and more pronounced occlusion shadows

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

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

On this page