gfx.vol_fog.set_density
Client
Sets the density of the volumetric fog post-processing effect
Syntax
local status = gfx.vol_fog.set_density(
value
)Parameters
| Type | Name | Description |
|---|---|---|
float | value | Density value to apply Controls the base thickness of the volumetric gfx.fog. Higher values produce denser, more opaque fog that scatters and absorbs light more strongly throughout the volume |
Returns
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, false otherwise |
Examples
gfx.vol_fog.set_density(0.05)