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

TypeNameDescription
colorcolorAlbedo color as {r, g, b, a}
stringhexAlternatively, a valid HTML hex color string (e.g. "#ffffff")

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

Set a cool blue-tinted fog albedo using a color table
gfx.vol_fog.set_albedo({0.6, 0.7, 1.0, 1.0})
Set albedo color using a hex string
gfx.vol_fog.set_albedo("#99b3ff")

On this page