GTAO

gfx.gtao.set_thin_occluder

Client

Sets the thin occluder compensation of the GTAO post-processing effect

Syntax

local status = gfx.gtao.set_thin_occluder(
    value
)

Parameters

TypeNameDescription
floatvalueCompensation value to apply
Higher values reduce the occlusion cast by thin objects such as poles and fences. Values are clamped to 0.0 - 0.7

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

Reduce occlusion from thin objects
gfx.gtao.set_thin_occluder(0.3)

On this page