gfx.fog.set_light_energy

Client

Sets the light energy of the fog post-processing effect


Syntax

local status = gfx.fog.set_light_energy(
    value
)

Parameters

TypeNameDescription
floatvalueLight energy value to apply
Controls the brightness of the fog's light color. Higher values produce a more luminous, glowing fog appearance

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

Set a bright fog light
gfx.fog.set_light_energy(2.0)

On this page