Fog volume: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
Line 3: Line 3:
==Entity description==
==Entity description==
<code>fog_volume</code> is a brush entity that controls fog and other visual cinematic elements within its volume. It is necessary to have at least one <code>fog_volume</code> in order for (a master) [[color_correction]] to take effect in Left 4 Dead and Left 4 Dead 2.
<code>fog_volume</code> is a brush entity that controls fog and other visual cinematic elements within its volume. It is necessary to have at least one <code>fog_volume</code> in order for (a master) [[color_correction]] to take effect in Left 4 Dead and Left 4 Dead 2.
{{tip|{{l4d2}} There is a Fog Panel in Left 4 Dead 2 that allows in-game manipulation of fog parameters. It is loaded via console command <code>fogui</code>.}}


==Keyvalues==
==Keyvalues==

Revision as of 14:54, 13 June 2010

Template:L4d brush
Template:L4d2 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.

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

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