Postprocess controller: Difference between revisions
Jump to navigation
Jump to search
ThaiGrocer (talk | contribs) mNo edit summary |
(Cleanup, added new keyvalues and input.) |
||
Line 1: | Line 1: | ||
{{ | {{base point multi|postprocess_controller|game1=Portal 2|game2=Alien Swarm|game3=Left 4 Dead 2|game4=Left 4 Dead}} | ||
==Entity Description== | ==Entity Description== | ||
[[File:postprocess_controller.png|left|link=]] | |||
An entity that controls the postprocess settings in the map: film grain, vignette, and local contrast. [[color_correction|Color correction]] is controlled by [[color_correction_(entity)|another entity]]. It may be necessary to have at least one <code>[[fog_volume]]</code> in the map in order for a master <code>postprocess_controller</code> to take effect. | An entity that controls the postprocess settings in the map: film grain, vignette, and local contrast. [[color_correction|Color correction]] is controlled by [[color_correction_(entity)|another entity]]. It may be necessary to have at least one <code>[[fog_volume]]</code> in the map in order for a master <code>postprocess_controller</code> to take effect. | ||
{{clr}} | |||
== | == Keyvalues == | ||
{{KV|Fade-in time|float}} | |||
{{ | {{KV|Local contrast strength [-1..x]|float}} | ||
{{KV|Local contrast edge strength [0..1]|float}} | |||
{{KV|Vignette start distance [0..1]|float}} | |||
{{KV|Vignette end distance [0..x]|float}} | |||
{{KV|Vignette blur strength [0..1]|float}} | |||
{{KV|Fade to black strength [0..1]|float}} | |||
{{KV|Film grain strength [0..x]|float|since=L4D2}} | |||
{{KV|Top-of-screen vignette strength [0..1]|float|since=L4D2}} | |||
{{KV|Depth-blur focal plane distance [0..1]|float|since=AS}} | |||
{{KV|Depth-blur effect strength [0..x]|float|since=AS}} | |||
{{KV|Full-screen blur strength [0..1]|float|since=AS}} | |||
{{KV Targetname}} | |||
}} | |||
==Inputs== | == Flags == | ||
* 1 : Master (Has priority if multiple postprocess_controllers exist) | |||
== Inputs == | |||
{{IO|SetLocalContrastStrength|Set the local contrast strength.|param=float}} | |||
{{IO|SetLocalContrastEdgeStrength|Set the local contrast strength at the edge of the screen (controlled by vignette).|param=float}} | |||
{{IO|SetVignetteStart|Set the vignette start distance (from screen center).|param=float}} | |||
{{IO|SetVignetteEnd|Set the vignette end distance.|param=float}} | |||
{{IO|SetVignetteBlurStrength|Set the strength of the desaturated blur on the vignette.|param=float}} | |||
{{IO|SetFadeToBlackStrength|Set the fadeout strength.|param=float}} | |||
{{IO|SetDepthBlurFocalDistance|Set the focal distance of the depth blur effect (in the range [0,1]).|param=float|since=AS}} | |||
{{IO|SetDepthBlurStrength|Set the depth blur effect strength.|param=float|since=AS}} | |||
{{IO|SetScreenBlurStrength|Set the screen blur effect strength.|param=float|since=AS}} | |||
{{IO|SetFilmGrainStrength|Set the film grain effect strength.|param=float|since=AS}} | |||
{{IO|SetFadeTime|Set the fade time between post process settings.|param=float|since=AS}} | |||
{{I Targetname}} | {{I Targetname}} | ||
==Outputs== | == Outputs == | ||
{{O Targetname}} | {{O Targetname}} | ||
Revision as of 23:28, 10 June 2011
Entity Description

An entity that controls the postprocess settings in the map: film grain, vignette, and local contrast. Color correction is controlled by another entity. It may be necessary to have at least one fog_volume
in the map in order for a master postprocess_controller
to take effect.
Keyvalues
- 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
Flags
- 1 : Master (Has priority if multiple postprocess_controllers exist)
Inputs
- SetLocalContrastStrength <float >
- Set the local contrast strength.
- SetLocalContrastEdgeStrength <float >
- Set the local contrast strength at the edge of the screen (controlled by vignette).
- SetVignetteStart <float >
- Set the vignette start distance (from screen center).
- SetVignetteEnd <float >
- Set the vignette end distance.
- SetVignetteBlurStrength <float >
- Set the strength of the desaturated blur on the vignette.
- SetFadeToBlackStrength <float >
- Set the fadeout strength.
- SetDepthBlurFocalDistance <float > (in all games since
)
- Set the focal distance of the depth blur effect (in the range [0,1]).
Outputs
See also
External links
Art Direction, Part 1: Filmic Effects - Valve blog regarding film effects in Left 4 Dead