Env dof controller: Difference between revisions
Jump to navigation
Jump to search
(Created page with '{{base point multi|env_dof_controller|game1=Alien Swarm|game2=Portal 2}} == Entity description == left|link= An entity that controls the [[depth …') |
m (the l4d series have this entity, too) |
||
Line 1: | Line 1: | ||
{{base point multi|env_dof_controller|game1=Alien Swarm| | {{base point multi|env_dof_controller|game1=Portal 2|game2=Alien Swarm|game3=Left 4 Dead 2|game4=Left 4 Dead}} | ||
== Entity description == | == Entity description == |
Revision as of 22:48, 10 June 2011
Entity description

An entity that controls the depth of field settings for the player. Depth of field simulates camera blur of out-of-focus regions of the scene.
Keyvalues
- Near blur depth ([todo internal name (i)]) <float>
- Distance that the blurriness is at its peak near the viewpoint.
- Near focus depth ([todo internal name (i)]) <float>
- Distance that the focus is in full effect near the viewpoint.
- Near blur radius ([todo internal name (i)]) <float>
- Radius (in pixels) to blur the surrounding pixels.
- Far blur depth ([todo internal name (i)]) <float>
- Distance where blurriness is at its peak far from the viewpoint.
- Far focus depth ([todo internal name (i)]) <float>
- Distance that the focus is in full effect far from the viewpoint.
- Far blur radius ([todo internal name (i)]) <float>
- Radius (in pixels) to blur the surrounding pixels.
- Focus target range ([todo internal name (i)]) <float>
- Distance behind the focal plane to remain in focus.
- 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
Inputs
- SetNearBlurDepth <float >
- Set the distance in front of the focus region at which the scene will be completely blurred using the near blur radius. Must be smaller than NearFocusDepth.
- SetNearFocusDepth <float >
- The area between the near focus and far focus distances is perfectly in focus. Must be smaller than FarFocusDepth.
- SetFarFocusDepth <float >
- The area between the near focus and far focus distances is perfectly in focus. Must be smaller than FarBlurDepth.
- SetFarBlurDepth <float >
- Set the distance beyond the focus region at which the scene will be completely blurred using the far blur radius. Must be larger than FarFocusDepth.
- SetNearBlurRadius <float >
- Set the blur radius (in pixels) to use at the near blur distance. Set to 0 to disable near blur.
- SetFarBlurRadius <float >
- Set the blur radius (in pixels) to use at the far blur distance. Set to 0 to disable far blur.
- SetFocusTarget <string >
- Set the focal target for the effect.
- SetFocusTargetRange <float >
- Set the distance behind the focal point that will remain in focus.