Env dof controller: Difference between revisions
Jump to navigation
Jump to search
(updates) |
No edit summary |
||
Line 7: | Line 7: | ||
==Keyvalues== | ==Keyvalues== | ||
{{KV|Enabled (enabled)|since=AS|boolean|Whether the effect should begin active. If it starts inactive, it must be enabled with < | {{KV|Enabled (enabled)|since=AS|boolean|Whether the effect should begin active. If it starts inactive, it must be enabled with <code>SetNearBlurRadius</code> or <code>SetFarBlurRadius</code>.}} | ||
{{KV|Near blur depth (near_blur)|since=AS|float|Distance that the blurriness is at its peak near the viewpoint.}} | {{KV|Near blur depth (near_blur)|since=AS|float|Distance that the blurriness is at its peak near the viewpoint.}} | ||
{{KV|Near focus depth (near_focus)|since=AS|float|Distance that the focus is in full effect near the viewpoint.}} | {{KV|Near focus depth (near_focus)|since=AS|float|Distance that the focus is in full effect near the viewpoint.}} |
Revision as of 16:25, 13 February 2019

Template:Base point This entity controls the depth of field settings for all players.
Keyvalues
- Enabled (enabled) ([todo internal name (i)]) <boolean> (in all games since
)
- Whether the effect should begin active. If it starts inactive, it must be enabled with
SetNearBlurRadius
orSetFarBlurRadius
.
- Near blur depth (near_blur) ([todo internal name (i)]) <float> (in all games since
)
- Distance that the blurriness is at its peak near the viewpoint.
- Near focus depth (near_focus) ([todo internal name (i)]) <float> (in all games since
)
- Distance that the focus is in full effect near the viewpoint.
- Near blur radius (near_radius) ([todo internal name (i)]) <float> (in all games since
)
- Radius (in pixels) to blur the surrounding pixels.
- Far blur depth (far_blur) ([todo internal name (i)]) <float> (in all games since
)
- Distance where blurriness is at its peak far from the viewpoint.
- Far focus depth (far_focus) ([todo internal name (i)]) <float> (in all games since
)
- Distance that the focus is in full effect far from the viewpoint.
- Far blur radius (far_radius) ([todo internal name (i)]) <float> (in all games since
)
- Radius (in pixels) to blur the surrounding pixels.
- Focus target (focus_target) ([todo internal name (i)]) <string> (in all games since
)
- Entity to use as a focal point.
- Focus target range (focus_range) ([todo internal name (i)]) <float> (in all games since
)
- Distance behind the focal plane to remain in focus.
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 the near focus death.
- SetNearFocusDepth <float >
- The area between the near focus and far focus distances is perfectly in focus. Must be smaller than the far focus depth.
- SetFarFocusDepth <float >
- The area between the near focus and far focus distances is perfectly in focus. Must be smaller than the far blur depth.
- 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 the far focus depth.
- 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.
- SetFocusTargetRange <float > (in all games since
)
- Set the distance behind the focal point that will remain in focus.