gfx.vol_fog.set_albedo
Client
Sets the albedo color of the volumetric fog post-processing effect
Syntax
local status = gfx.vol_fog.set_albedo(
color
)local status = gfx.vol_fog.set_albedo(
hex
)Parameters
| Type | Name | Description |
|---|---|---|
color | color | Albedo 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, false otherwise |
Examples
gfx.vol_fog.set_albedo({0.6, 0.7, 1.0, 1.0})gfx.vol_fog.set_albedo("#99b3ff")