gfx.vol_fog.set_detail_spread

Client

Sets the detail spread of the volumetric fog post-processing effect


Syntax

local status = gfx.vol_fog.set_detail_spread(
    value
)

Parameters

TypeNameDescription
floatvalueDetail spread value to apply
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

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

Concentrate fog detail near the camera
gfx.vol_fog.set_detail_spread(2.0)

On this page