color_correction_volume

From Source Entities
Jump to navigation Jump to search
For info about the color correction concept, see this VDC page.

Code classes:

Trigger.png

color_correction_volume is a brush entity present in all Source games. When a player steps into this volume, they will have a color correction effect applied to their screen.

Bug: In Css.png the color correction will apply to all players on the server when even one steps inside the volume.

Confirm: Does not work at all in Csgo-small.png?

Keyvalues[edit | edit source]

Lookup Table Filename (filename) <string>
Filepath to the .raw being used. Example: scripts/colorcorrection/landingbay_exterior.raw.
Lookup Fade Duration (fadeDuration) <float>
How long the CC takes to fade in and out.
Maximum Weight (maxweight) <float>
How strongly this entity should apply the effect. This is a decimal percent, e.g. 0.45 = 45%.
Start Disabled (StartDisabled) <boolean>
Stay inactive until Enabled.

Inputs[edit | edit source]

Enable
Makes the entity active.
Disable
Makes the entity inactive.

See Also[edit | edit source]