GTAO

gfx.gtao.set_half_res

Client

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

Syntax

local status = gfx.gtao.set_half_res(
    state
)

Parameters

TypeNameDescription
boolstateDetermines the resolution mode:
• When true - occlusion is computed at half resolution, which is significantly faster
• When false - occlusion is computed at full resolution

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

Compute gtao at full resolution
gfx.gtao.set_half_res(false)

On this page