GTAO

gfx.gtao.get_smooth

Client

Retrieves the current smoothing radius of the GTAO post-processing effect

Syntax

local result = gfx.gtao.get_smooth()

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
intresultCurrent smoothing radius, in pixels at occlusion resolution

Examples

Get the current gtao smoothing radius
core.engine.print("info", "GTAO smoothing radius:", gfx.gtao.get_smooth())

On this page