gfx.vol_fog.set_anisotropy

Client

Sets the anisotropy of the volumetric fog post-processing effect


Syntax

local status = gfx.vol_fog.set_anisotropy(
    value
)

Parameters

TypeNameDescription
floatvalueAnisotropy value to apply
Controls the directional bias of light scattering within the gfx.fog. Positive values scatter light forward in the direction of the light source, producing a glowing halo effect. Negative values scatter light backward, creating a more diffuse appearance

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

Bias scattering forward for a sun halo effect
gfx.vol_fog.set_anisotropy(0.5)

On this page