Skip to content

lib.3d.postfx.DepthOfField

Thomas Mann edited this page Jan 17, 2024 · 2 revisions

DepthOfField

in lib.3d.postfx


Adds a depth of field effect.

Hint: Use a [Locator] and its DistanceToCamera output to use automatic focus distance.


Input Parameters

Name (Relevancy & Type) Description
TextureBuffer (Texture2DRequired) -
DepthBuffer (Texture2DRequired) -
Amount (Single) -
FocusDistance (Single) -
BackgroundColor (Vector4) -
MaxSamples (Int32) -
NearFarRange (Vector2) -
Command (Command) -

Outputs

Name Type
TextureOut SharpDX.Direct3D11.Texture2D
Depth SharpDX.Direct3D11.Texture2D

Please help use to improve this documentation. Feel free to improve the description.

⚠ Everything else is automatically generated and will be overwritten regularly.

Clone this wiki locally