gfx.vol_fog.set_emission_energy

Client

Sets the emission energy of the volumetric fog post-processing effect


Syntax

local status = gfx.vol_fog.set_emission_energy(
    value
)

Parameters

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

Examples

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

On this page