Postprocess controller: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
Line 6: Line 6:


==Keyvalues==
==Keyvalues==
{{KV Targetname}}
*{{KV Targetname}}
Name targetname <target_source> The name that other entities refer to this entity by.
*{{ScrollBox|title=localcontraststrength|
 
Local contrast strength [-1..x] <[[float]]>
Local contrast strength [-1..x] localcontraststrength <float>  
}}
 
*{{ScrollBox|title=localcontrastedgestrength|
Local contrast edge strength [0..1] localcontrastedgestrength <float>  
Local contrast edge strength [0..1] <[[float]]>
 
}}
Vignette start distance [0..1] vignettestart <float>  
*{{ScrollBox|title=vignettestart|
 
Vignette start distance [0..1] <[[float]]>
Vignette end distance [0..x] vignetteend <float>  
}}
 
*{{ScrollBox|title=vignetteend|
Vignette blur strength [0..1] vignetteblurstrength <float>  
Vignette end distance [0..x] <[[float]]>
 
}}
Film grain strength [0..1] grainstrength <float>  
*{{ScrollBox|title=vignetteblurstrength|
 
Vignette blur strength [0..1] <[[float]]>
Top-of-screen vignette strength [0..1] topvignettestrength <float>  
}}
 
*{{ScrollBox|title=grainstrength|
Fade-in time fadetime <float>  
Film grain strength [0..1] <[[float]]>
 
}}
spawnflags spawnflags <flags>
*{{ScrollBox|title=topvignettestrength|
 
Top-of-screen vignette strength [0..1] <[[float]]>
}}
*{{ScrollBox|title=fadetime|
Fade-in time <[[float]]>
}}


==Inputs==
==Inputs==

Revision as of 10:26, 8 March 2010

Template:L4d point
Template:L4d2 point

Entity Description

An entity that controls the postprocess settings in the map. 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 or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

  • localcontraststrength:
Local contrast strength [-1..x] <float>
  • localcontrastedgestrength:
Local contrast edge strength [0..1] <float>
  • vignettestart:
Vignette start distance [0..1] <float>
  • vignetteend:
Vignette end distance [0..x] <float>
  • vignetteblurstrength:
Vignette blur strength [0..1] <float>
  • grainstrength:
Film grain strength [0..1] <float>
  • topvignettestrength:
Top-of-screen vignette strength [0..1] <float>
  • fadetime:
Fade-in time <float>

Inputs

PostProcess:
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>
Removes this entity from its current movement hierarchy.
SetVignetteBlurStrength <float>
Set the strength of the desaturated blur on the vignette.
SetFadeToBlackStrength <float>
Set the fadeout strength.

Outputs