entityguide‎ > ‎

env_fog

Entity which creates a fog effect within a specific area around it. Fog, unfortunately, will only show to players who have it enabled in their options.
Keyvalues


"Fog color (RGB)", rendercolor :
The color of the fog.

"Start distance", iuser2 :
Distance, in units, at which the fog starts to be visible. This needs to be greater than zero.

"End distance", iuser3 :
Distance, in units, at which the fog appears opaque. This needs to be greater than the start distance.


Flags


1: "Start off": The env_fog entity will start disabled and needs to be triggered in order for fog to show.

Issues

  • Fog works only for OpenGL graphics mode.
  • Entities with 'Render mode' set to other than 'Normal' (including sprites) are not affected by env_fog.


Comments