GFXVolumetric Fog
gfx.volumetric_fog.set_emission
Client
The emission color to be set for the volumetric fog post-processing effect
Syntax
local status = gfx.volumetric_fog.set_emission(color)
local status = gfx.volumetric_fog.set_emission(hex)Parameters
| Type | Name | Description |
|---|---|---|
color | color | Emission color as {r, g, b, a} |
string | hex | Alternatively, a valid HTML hex color string (e.g. "#ffffff") |
Returns
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, or false on failure |
Examples
--Set a warm orange emission color using a color table
gfx.volumetric_fog.set_emission({1.0, 0.4, 0.1, 1.0})--Set emission color using a hex string
gfx.volumetric_fog.set_emission("#ff6619")