Vital.sandbox
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

TypeNameDescription

Returns

TypeNameDescription
floatresultCurrent horizon value

Examples

Get the current ssao horizon value
engine.print("info", "SSAO horizon:", gfx.ssao.get_horizon())

On this page