GTAO
gfx.gtao.set_power
ClientSets the final value power of the GTAO post-processing effect
Syntax
local status = gfx.gtao.set_power(
value
)Parameters
| Type | Name | Description |
|---|---|---|
float | value | Power value to apply Higher values increase the contrast of the occlusion, darkening occluded areas. Values are clamped to 0.5 - 5.0 |
Returns
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, false otherwise |
Examples
gfx.gtao.set_power(2.2)