Env dof controller
		
		
		
		Jump to navigation
		Jump to search
		

Template:Base point It controls the depth of field settings for all players.
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. 
parentnameortarget).
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.