GFXSSAO
gfx.ssao.get_horizon
Client
Retrieves the current horizon threshold of the SSAO post-processing effect
Syntax
local result = gfx.ssao.get_horizon()Parameters
| Type | Name | Description |
|---|
Returns
| Type | Name | Description |
|---|---|---|
float | result | Current horizon value |
Examples
engine.print("info", "SSAO horizon:", gfx.ssao.get_horizon())