Vital.sandbox
GFXVolumetric Fog

gfx.volumetric_fog.set_emission_energy

Client

The emission energy to be set for the volumetric fog post-processing effect


Syntax

local status = gfx.volumetric_fog.set_emission_energy(value)

Parameters

TypeNameDescription
floatvalueEmission energy value to be applied
Controls the brightness of the fog's emission color. Higher values produce a more intense, self-illuminated glow within the fog volume

Returns

TypeNameDescription
boolstatustrue on successful execution, or false on failure

Examples

Set a strong emission glow within the fog
--Set a strong emission glow within the fog
gfx.volumetric_fog.set_emission_energy(2.0)

On this page