GFXSSAO
gfx.ssao.set_channel_affect
Client
Sets the AO channel influence of the SSAO post-processing effect
Syntax
local status = gfx.ssao.set_channel_affect(value)Parameters
| Type | Name | Description |
|---|---|---|
float | value | Influence value to be applied Controls how much the SSAO result blends into the AO channel of materials, affecting surfaces that use ambient occlusion textures |
Returns
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, or false on failure |
Examples
gfx.ssao.set_channel_affect(1.0)