GTAO

gfx.gtao.set_radius_multiplier

Client

Sets the radius multiplier of the GTAO post-processing effect

Syntax

local status = gfx.gtao.set_radius_multiplier(
    value
)

Parameters

TypeNameDescription
floatvalueRadius multiplier value to apply
Scales the effective sampling radius, compensating for the falloff applied at its edge. Values are clamped to 0.3 - 3.0

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

Restore the default radius multiplier
gfx.gtao.set_radius_multiplier(1.457)

On this page