Vital.sandbox
GFXSDFGI

gfx.sdfgi.set_energy

Client

The energy output to be set for the SDFGI post-processing effect


Syntax

local status = gfx.sdfgi.set_energy(value)

Parameters

TypeNameDescription
floatvalueEnergy value to be applied
Scales the overall brightness of the global illumination output. Higher values produce more intense indirect lighting across the scene

Returns

TypeNameDescription
boolstatustrue on successful execution, or false on failure

Examples

Boost GI energy for brighter indirect lighting
--Boost GI energy for brighter indirect lighting
gfx.sdfgi.set_energy(2.0)

On this page