gfx.fog.set_aerial_perspective

Client

Sets the aerial perspective blend amount of the fog post-processing effect


Syntax

local status = gfx.fog.set_aerial_perspective(
    value
)

Parameters

TypeNameDescription
floatvalueAerial perspective value to apply
Blends the sky's aerial perspective effect into the fog, simulating the way distant objects take on the hue and haze of the atmosphere. Higher values produce stronger atmospheric depth

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

Add strong atmospheric haze to distant geometry
gfx.fog.set_aerial_perspective(0.5)

On this page