gfx.vol_fog.set_sky_affect

Client

Sets the sky influence amount of the volumetric fog post-processing effect


Syntax

local status = gfx.vol_fog.set_sky_affect(
    value
)

Parameters

TypeNameDescription
floatvalueSky influence value to apply
Controls how much the volumetric fog blends into and affects the appearance of the sky. A value of 0 leaves the sky unaffected while higher values cause the fog to visibly tint and obscure the skybox

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

Allow volumetric fog to partially tint the sky
gfx.vol_fog.set_sky_affect(0.5)

On this page