Skip to content

lib.3d.postfx.DepthOfField

Thomas Mann edited this page May 19, 2023 · 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.


Outputs

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

Parameters

Name Type Relevancy
TextureBuffer SharpDX.Direct3D11.Texture2D Required
DepthBuffer SharpDX.Direct3D11.Texture2D Required
Amount System.Single
FocusDistance System.Single
BackgroundColor System.Numerics.Vector4
MaxSamples System.Int32
NearFarRange System.Numerics.Vector2
Command T3.Core.DataTypes.Command

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