GTAO

gfx.gtao.set_power

Client

Sets the final value power of the GTAO post-processing effect

Syntax

local status = gfx.gtao.set_power(
    value
)

Parameters

TypeNameDescription
floatvaluePower value to apply
Higher values increase the contrast of the occlusion, darkening occluded areas. Values are clamped to 0.5 - 5.0

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

Increase occlusion contrast
gfx.gtao.set_power(2.2)

On this page