GTAO

gfx.gtao.set_falloff

Client

Sets the falloff range of the GTAO post-processing effect

Syntax

local status = gfx.gtao.set_falloff(
    value
)

Parameters

TypeNameDescription
floatvalueFalloff range value to apply
Controls the fraction of the radius over which occlusion fades out towards the edge of the sampling range. Values are clamped to 0.001 - 1.0

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

Soften the edge of the occlusion
gfx.gtao.set_falloff(0.8)

On this page