GFXSSAO
gfx.ssao.set_power
Client
Sets the power curve of the SSAO post-processing effect
Syntax
local status = gfx.ssao.set_power(value)Parameters
| Type | Name | Description |
|---|---|---|
float | value | Power value to be applied Controls the exponent applied to the occlusion factor, affecting the contrast between occluded and non-occluded areas |
Returns
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, or false on failure |
Examples
gfx.ssao.set_power(2.0)