GFXVolumetric Fog
gfx.volumetric_fog.set_sky_affect
Client
The sky influence amount to be set for the volumetric fog post-processing effect
Syntax
local status = gfx.volumetric_fog.set_sky_affect(value)Parameters
| Type | Name | Description |
|---|---|---|
float | value | Sky influence value to be applied 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
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, or false on failure |
Examples
--Allow volumetric fog to partially tint the sky
gfx.volumetric_fog.set_sky_affect(0.5)