Fog volume

From Valve Developer Community
Jump to navigation Jump to search

Template:L4d series brush

Entity description

fog_volume is a brush entity that controls fog and other visual cinematic elements within its volume. It is necessary to have at least one fog_volume in order for (a master) color_correction to take effect in Left 4 Dead and Left 4 Dead 2.

Tip.pngTip:Left 4 Dead 2 There is a Fog Panel in Left 4 Dead 2 that allows in-game manipulation of fog parameters. It is loaded via console command fogui.
Note.pngNote: Alien Swarm Alien Swarm does not use the origin of a player to decide which fog volume he is in, but rather camera position. Due to this, you must make sure that your fog volume is taller (height) then the highest point a marines camera can reach, i.e: The distance from the camera in height from the marine.

Keyvalues

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Start Disabled (StartDisabled) <boolean>
Stay dormant until activated (with theEnableinput).
  • FogName:
Fog Name <target_destination>
The name of the fog entity associated with this volume.
  • PostProcessName:
Postprocess Name <target_destination>
The name of the postprocess entity associated with this volume.
  • ColorCorrectionName:
ColorCorrection Name <target_destination>
The name of the color_correction entity associated with this volume.

Inputs

EnableDisable:

Enable / Disable
Enable/disable this entity from performing its task. It might also disappear from view.

Outputs

See also

External links

L4D Art Direction, Part 1: Filmic Effects - Valve blog post regarding film effects in Left 4 Dead