gfx.sdfgi.set_energy

Client

Sets the energy output of SDFGI post-processing effect


Syntax

local status = gfx.sdfgi.set_energy(
    value
)

Parameters

TypeNameDescription
floatvalueEnergy value to apply
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, false otherwise

Examples

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

On this page