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 apply 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, false otherwise |
Examples
gfx.ssao.set_power(2.0)