GTAO

gfx.gtao.set_intensity

Client

Sets the intensity of the GTAO post-processing effect

Syntax

local status = gfx.gtao.set_intensity(
    value
)

Parameters

TypeNameDescription
floatvalueIntensity value to apply
Blends between no occlusion (0.0) and full occlusion (1.0). Values are clamped to 0.0 - 1.0

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

Apply half of the occlusion
gfx.gtao.set_intensity(0.5)

On this page