Color correction (entity)
Template:Base point It loads a color correction lookup table (.raw) and controls its strength. Correction is applied in a sphere surrounding the entity, with a configurable amount of falloff. By default the effect fades in gradually and only reaches peak intensity at the entity's exact location.
In Left 4 Dead and Left 4 Dead 2, this entity will behave like color_correction in previous Source-based games if there is at least one fog_volume brush entity textured with the fogvolume material. The flags "Master" and "Simulate client-side" must be checked in the main color_correction entity. There can only be one master color_correction. It is recommended that the other color_correction entities be triggered with fog_volume with an override of the master. The override is done by setting the fog_volume entity property called ColorCorrection Name to a color_correction targetname of your choice.
Keyvalues
- Lookup Falloff Start Distance
<float>
- Lookup Falloff End Distance
<float>
- Distance from the entity at which the effect should begin and end fading out.
- Maximum Weight
<normal>
- The intensity of the effect before falloff.
- Lookup Table Filename
<path\file>
- The path and filename of the lookup table to load. Starts in the game root and should include file extension.
- Lookup Fade In Duration
<float>
- Lookup Fade out Duration
<float>
- How fast the effect should fade in/out when the entity is enabled/disabled.
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
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 the
Enable
input).
Inputs
- filename !FGD
- change the Lookup Table filename
EnableDisable:
- Enable / Disable
- Enable/disable this entity from performing its task. It might also disappear from view.
Outputs
EnableDisable:
- Enable / Disable
- Enable/disable this entity from performing its task. It might also disappear from view.
Flags
- 1 : Master (Default color correction when used with L4D fog_volume)
- 2 : Simulate client-side (Must be set when used with L4D fog_volume) Template:L4D add