gfx.vol_fog.set_gi_inject

Client

Sets the GI injection amount of the volumetric fog post-processing effect


Syntax

local status = gfx.vol_fog.set_gi_inject(
    value
)

Parameters

TypeNameDescription
floatvalueGI inject value to apply
Controls how much global illumination light is injected into the volumetric gfx.fog. Higher values make the fog respond to and carry indirect light throughout the scene

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

Allow GI to illuminate the fog volume
gfx.vol_fog.set_gi_inject(1.0)

On this page