gfx.fog.set_height_density
Client
Sets the height density of the fog post-processing effect
Syntax
local status = gfx.fog.set_height_density(
value
)Parameters
| Type | Name | Description |
|---|---|---|
float | value | Height density value to apply Controls how quickly fog density increases as height decreases. Use a negative value to instead increase fog density as height increases |
Returns
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, false otherwise |
Examples
gfx.fog.set_height_density(10.0)gfx.fog.set_height_density(-10.0)