GFXVolumetric Fog
gfx.volumetric_fog.set_length
Client
The draw length to be set for the volumetric fog post-processing effect
Syntax
local status = gfx.volumetric_fog.set_length(value)Parameters
| Type | Name | Description |
|---|---|---|
float | value | Length value to be applied Sets the maximum distance from the camera at which volumetric fog is rendered. Larger values extend the fog further into the scene at the cost of performance |
Returns
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, or false on failure |
Examples
--Extend volumetric fog across a large distance
gfx.volumetric_fog.set_length(512.0)