Color correction volume
Jump to navigation
Jump to search
Template:Base brush A color correction lookup table is faded in or out when a player enters or leaves its volume. Fade time is configurable.

Todo: Is this still accurate? Should be tested per-game cause the note is very old.
Workaround:Use trigger_multiple brushes to output commands that disable an active color_correction entity and enable a separate color_correction entity in its place; upon touch.
Note:If a color_correction entity has a value of -1 in both lookup falloff start and end distance, and is active as soon as you spawn, then enable that entity's "Master" flag. All other inactive color_correction entities must be set to "StartDisabled" as seen in their keyvalues for this to work correctly.

CColorCorrectionVolume
class, defined in thecolorcorrectionvolume.cpp
file.
Keyvalues
- Lookup Fade Duration (fadeDuration) ([todo internal name (i)]) <float>
- How fast the effect fades in or out when the viewer enters or exits.
- Maximum Weight (maxweight) ([todo internal name (i)]) <float>
- This is the maximum weight for this lookup.[Clarify]
- Lookup Table Filename (filename) ([todo internal name (i)]) <string>
- Pathfile from the mod folder to the .raw to reference. For info on making a file, see color correction. Example path for a file in the hl2 materials folder:
materials/colorcorrection.raw
|
Inputs
|
Outputs
|
See Also
color_correction
- a point-based version of this entity.