GFXVolumetric Fog
gfx.volumetric_fog.set_anisotropy
Client
The anisotropy to be set for the volumetric fog post-processing effect
Syntax
local status = gfx.volumetric_fog.set_anisotropy(value)Parameters
| Type | Name | Description |
|---|---|---|
float | value | Anisotropy value to be applied Controls the directional bias of light scattering within the 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
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, or false on failure |
Examples
--Bias scattering forward for a sun halo effect
gfx.volumetric_fog.set_anisotropy(0.5)