GFXFog
gfx.fog.set_light_energy
Client
The light energy to be set for the fog post-processing effect
Syntax
local status = gfx.fog.set_light_energy(value)Parameters
| Type | Name | Description |
|---|---|---|
float | value | Light energy value to be applied Controls the brightness of the fog's light color. Higher values produce a more luminous, glowing fog appearance |
Returns
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, or false on failure |
Examples
--Set a bright fog light
gfx.fog.set_light_energy(2.0)