GTAO

gfx.gtao.is_half_res

Client

Retrieves whether the GTAO post-processing effect is computed at half resolution

Syntax

local result = gfx.gtao.is_half_res()

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
boolresulttrue if occlusion is computed at half resolution, false otherwise

Examples

Print the current gtao resolution mode
core.engine.print("info", "GTAO half resolution:", gfx.gtao.is_half_res())

On this page