GTAO

gfx.gtao.set_denoise

Client

Sets the denoise mode of the GTAO post-processing effect

Syntax

local status = gfx.gtao.set_denoise(
    mode
)

Denoising smooths the sampling noise of the occlusion.

Parameters

TypeNameDescription
gfx.gtao.denoise_modemodeDenoise mode to apply

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

Set gtao denoise mode to soft
gfx.gtao.set_denoise(gfx.gtao.denoise_mode.SOFT)
Disable gtao denoising
gfx.gtao.set_denoise(gfx.gtao.denoise_mode.OFF)

On this page