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
| Type | Name | Description |
|---|---|---|
float | value | Anisotropy 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
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, false otherwise |
Examples
gfx.vol_fog.set_anisotropy(0.5)