GFXSSAO
gfx.ssao.set_horizon
Client
Sets the horizon threshold of the SSAO post-processing effect
Syntax
local status = gfx.ssao.set_horizon(value)Parameters
| Type | Name | Description |
|---|---|---|
float | value | Horizon value to be applied Controls how much occlusion is applied to surfaces facing away from the camera, reducing halo artifacts on silhouettes |
Returns
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, or false on failure |
Examples
gfx.ssao.set_horizon(0.06)