Click or drag to resize
AB4D logo

NormalDepthEdgeDetectionPostProcessing Properties

The NormalDepthEdgeDetectionPostProcessing type exposes the following members.

Properties
 NameDescription
Public propertyDepthThreshold Depth threshold - the value that specifies how big the depth change between checked pixels must be to form an edge. Smaller value define more edges. Value 1 means the whole depth range from near camera plane to far camera plane. Default value is 0.01.
Public propertyDistance Distance defines how many pixels away from the center pixel the edge detection effect will check. Bigger values create thicker edges. Default value is 1.
Public propertyMultiplyWithCurrentColor Gets or sets a Boolean value that specifies if the edge color defined by this post-process is multiplied with the existing pixel color - this way the edges are added to the existing rendering. When false then only the edges are preserved and the original rendering is not visible any more. Default value is true.
Public propertyNormalThreshold Normal threshold - the value that specifies how big the normal change must be to form an edge. Bigger value requires bigger normal change to define the edge and therefore produce less edges. Default value is 0.3.
Public propertyTextureSize Gets or sets the size of the texture.
Top
See Also