SlashCo Wiki

SlashCo.SetGlobalFogColor

  SlashCo.SetGlobalFogColor( Color or Vector color )

Description

Sets the global fog color, used by the Fog system. Read back using SlashCo.GetGlobalFogColor.
On map start this is initialized from the env_fog_controller entity's fog color, if one exists on the map.

Arguments

1Color or Vector color

The new fog color. A Vector is assumed to use a 0-1 range and is scaled up to 0-255