GTAO

gfx.gtao.set_smooth

Client

Sets the smoothing radius of the GTAO post-processing effect

Syntax

local status = gfx.gtao.set_smooth(
    value
)

Parameters

TypeNameDescription
intvalueRadius to apply, in pixels at occlusion resolution
Controls the depth-aware horizontal and vertical blur applied after denoising, edges between objects stay sharp. 0 disables it. Values are clamped to 0 - 8

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

Apply a wide smoothing blur
gfx.gtao.set_smooth(6)

On this page