postprocess_controller
Jump to navigation
Jump to search
Code classes:
CPostProcessController
CBaseEntity
(all ents)
postprocess_controller
is a point entity present in all games since Left 4 Dead. This entity controls a few visual effects.
Note: It seems that no post process effects work in , except Fade to black, vignette, and local contrast in .
Note: The Shader Detail setting needs to be at High or Very High to see most effects!
Appearance of effects[edit | edit source]
Flags[edit | edit source]
- 1: Master - For use with
fog_volume
. If no otherpostprocess_controller
s are active, the game goes back to this one.
Keyvalues[edit | edit source]
- Fade-in time
(fadetime)
<float>
- How long it takes for this set of effects to switch in when using
fog_volume
. - Vignette start distance
(vignettestart)
<float>
- Radius at which the blur and local contrast begin to fade in. Measured as a distance between the center and edge of the screen. 0 is the center and 1 is touching all four edges tangentially.
- Vignette end distance
(vignetteend)
<float>
- Radius at which the blur and local contrast fade in to full strength. Measured as a distance between the center and edge of the screen. 0 is the center and 1 is touching all four edges tangentially.
- Vignette blur strength
(vignetteblurstrength)
<float>
- Strength of desaturation & blur inside the vignette. 0 is no effect, 1 is full strength and above 1 inverts colors.
- Local contrast strength
(localcontraststrength)
<float>
- Strength of local contrast in the non-vignetted portion of the screen.
- Local contrast edge strength
(localcontrastedgestrength)
<float>
- Strength of local contrast in the ring-shaped area between the start and end of the vignette.
- Fade to black strength (Not in FGD)
(fadetoblackstrength)
<float>
- Simple screen darkening. 0 is no effect, 1 is completely black.
- Top-of-screen vignette strength
(topvignettestrength)
<float>
(available in all games since ) - Normal vignette on top half of screen.
- Film grain strength
(grainstrength filmgrainstrength)
<float>
(available in all games since ) - Film grain applied to dark areas in the image.
- Depth-blur effect strength
(depthblurstrength)
<float>
(available in all games since ) - How blurred objects are by distance from the camera.
- Depth-blur focal plane distance
(depthblurfocaldistance)
<float>
(available in all games since ) - Distance at which things are not affected by the depth blur.
- Full-screen blur strength
(screenblurstrength)
<float>
(available in all games since ) - How much to blur the whole screen.
Inputs[edit | edit source]
- SetFadeTime (Not in FGD)
<float>
- Sets Fade-in time.
- SetVignetteStart
<float>
- Sets Vignette start distance.
- SetVignetteEnd
<float>
- Sets Vignette end distance.
- SetVignetteBlurStrength
<float>
- Sets Vignette blur strength.
- SetLocalContrastStrength
<float>
- Sets Local contrast strength.
- SetLocalContrastEdgeStrength
<float>
- Sets Local contrast edge strength.
- SetFadeToBlackStrength (Not in FGD)
<float>
- Sets Fade to black strength.
- SetGrainStrength (Not in FGD)
<float>
(only available in ) - Sets Film grain strength.
- SetFilmGrainStrength
<float>
(available in all games since ) - Sets Film grain strength.
- SetTopVignetteStrength (Not in FGD)
<float>
(available in all games since ) - Sets Top-of-screen vignette strength.
- SetDepthBlurStrength
<float>
(available in all games since ) - Sets Depth-blur effect strength.
- SetDepthBlurFocalDistance
<float>
(available in all games since ) - Sets Depth-blur focal plane distance.
- SetScreenBlurStrength
<float>
(available in all games since ) - Sets Full-screen blur strength.