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