GTAO
gfx.gtao.set_half_res
ClientSets whether the GTAO post-processing effect is computed at half resolution
Syntax
local status = gfx.gtao.set_half_res(
state
)Parameters
| Type | Name | Description |
|---|---|---|
bool | state | Determines the resolution mode: • When true - occlusion is computed at half resolution, which is significantly faster• When false - occlusion is computed at full resolution |
Returns
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, false otherwise |
Examples
gfx.gtao.set_half_res(false)