GFXVolumetric Fog
gfx.volumetric_fog.set_detail_spread
Client
The detail spread to be set for the volumetric fog post-processing effect
Syntax
local status = gfx.volumetric_fog.set_detail_spread(value)Parameters
| Type | Name | Description |
|---|---|---|
float | value | Detail spread value to be applied Controls how detail samples are distributed across the fog volume. Higher values spread detail more unevenly, concentrating finer detail near the camera and coarser detail further away |
Returns
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, or false on failure |
Examples
--Concentrate fog detail near the camera
gfx.volumetric_fog.set_detail_spread(2.0)