gfx.fog.set_sun_scatter
Client
Sets the sun scatter amount of the fog post-processing effect
Syntax
local status = gfx.fog.set_sun_scatter(
value
)Parameters
| Type | Name | Description |
|---|---|---|
float | value | Sun scatter value to apply 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, false otherwise |
Examples
gfx.fog.set_sun_scatter(0.5)