GTAO

gfx.gtao.set_radius

Client

Sets the sampling radius of the GTAO post-processing effect

Syntax

local status = gfx.gtao.set_radius(
    value
)

Parameters

TypeNameDescription
floatvalueRadius value to apply, in world units
Larger values extend the reach of the occlusion shadow around geometry
Values below 0.01 are clamped to 0.01

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

Set a wider occlusion radius
gfx.gtao.set_radius(2.0)

On this page