GTAO

gfx.gtao.set_distribution

Client

Sets the sample distribution power of the GTAO post-processing effect

Syntax

local status = gfx.gtao.set_distribution(
    value
)

Parameters

TypeNameDescription
floatvalueDistribution power value to apply
Higher values concentrate samples closer to the pixel, favoring fine contact detail over wide occlusion. Values are clamped to 1.0 - 3.0

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

Favor fine contact detail
gfx.gtao.set_distribution(2.5)

On this page