GFXFog
gfx.fog.set_sun_scatter
Client
The sun scatter amount to be set for the fog post-processing effect
Syntax
local status = gfx.fog.set_sun_scatter(value)Parameters
| Type | Name | Description |
|---|---|---|
float | value | Sun scatter value to be applied Controls how much the sun's light scatters through the fog, producing a visible glow or halo effect in the direction of the sun |
Returns
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, or false on failure |
Examples
--Add a visible sun glow through the fog
gfx.fog.set_sun_scatter(0.5)