S&box Wiki

Revision Difference

env_gradient_fog#547314

<title>env_gradient_fog</title>⤶ ⤶ ⤶ # env_gradient_fog⤶ ⤶ Specifies fog based on a color gradient.⤶ ⤶ ### Keyvalues⤶ ⤶ **Name (`targetname`)** ⤶ ⤶ >* The name that other entities refer to this entity by.⤶ ⤶ **Tags (`tags`)** ⤶ ⤶ >* A list of general purpose tags for this entity, for interactions with other entities such as triggers.⤶ ⤶ **Fog Enabled (`fogenabled`)**⤶ ⤶ ⤶ **Fog Start Distance (`fogstart`)**⤶ ⤶ ⤶ **Fog End Distance (`fogend`)**⤶ ⤶ ⤶ **Fog Start Height (`fogstartheight`)**⤶ ⤶ ⤶ **Fog End Height (`fogendheight`)**⤶ ⤶ ⤶ **Fog Maximum Opacity (`fogmaxopacity`)**⤶ ⤶ >* Set the maximum opacity at the base of the gradient fog.⤶ ⤶ **Fog Color (R G B) (`fogcolor`)**⤶ ⤶ >* Set the gradient fog color.⤶ ⤶ **Fog Strength (`fogstrength`)**⤶ ⤶ ⤶ **Distance Falloff Exponent (`fogfalloffexponent`)**⤶ ⤶ >* Exponent for distance falloff.⤶ ⤶ **Vertical Falloff Exponent (`fogverticalexponent`)**⤶ ⤶ >* Exponent for vertical falloff.⤶ ⤶ **Fade Time (`fadetime`)**⤶ ⤶ >* How much time it takes to fade in new values.