GTAO
gfx.gtao.set_denoise
ClientSets 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.
- Default —
gfx.gtao.denoise_mode.SOFT. - Cost — each denoise pass adds a small GPU cost,
gfx.gtao.denoise_mode.OFFis the cheapest.
Parameters
| Type | Name | Description |
|---|---|---|
gfx.gtao.denoise_mode | mode | Denoise mode to apply |
Returns
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, false otherwise |
Examples
gfx.gtao.set_denoise(gfx.gtao.denoise_mode.SOFT)gfx.gtao.set_denoise(gfx.gtao.denoise_mode.OFF)