GFXSSAO
gfx.ssao.set_direct_light_affect
Client
Sets the direct lighting influence of the SSAO post-processing effect
Syntax
local status = gfx.ssao.set_direct_light_affect(value)Parameters
| Type | Name | Description |
|---|---|---|
float | value | Influence value to be applied Controls how much SSAO occlusion darkens areas lit by direct light sources. A value of 0 leaves direct lighting unaffected |
Returns
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, or false on failure |
Examples
gfx.ssao.set_direct_light_affect(0.5)