Vital.sandbox
GFXSSAO

gfx.ssao.get_direct_light_affect

Client

Retrieves the current direct lighting influence of the SSAO post-processing effect


Syntax

local result = gfx.ssao.get_direct_light_affect()

Parameters

TypeNameDescription

Returns

TypeNameDescription
floatresultCurrent direct light influence value

Examples

Get the current ssao direct light affect
engine.print("info", "SSAO direct light affect:", gfx.ssao.get_direct_light_affect())

On this page