GFXFog
gfx.fog.set_aerial_perspective
Client
The aerial perspective blend amount to be set for the fog post-processing effect
Syntax
local status = gfx.fog.set_aerial_perspective(value)Parameters
| Type | Name | Description |
|---|---|---|
float | value | Aerial perspective value to be applied 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
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, or false on failure |
Examples
--Add strong atmospheric haze to distant geometry
gfx.fog.set_aerial_perspective(0.5)