Description

Found in the Edge Detection group of parameters of Line Kit Settings file.

Depth is one of the sources for generating outline in Line Kit. The outlines can be generated from the depth buffer of the scene. The depth buffer is a special buffer that stores the distance from the camera to the object.

Depth interface

Depth interface

If you go to the Debug Output menu and select Depth Lines, you will see the outlines generated by the Depth Lines source.

Camera Color Lines pass selected in Debug Output

Depth Lines pass selected in Debug Output

Parameters

  • Tolerance - Minimum distance in world units at which lines are drawn. The lower the value, the more lines are drawn.
  • Variance - The range of depth difference at which the outlines transition from non-existent to fully visible. If the variance is set to zero, the outlines are binary: either they are visible or not. If the variance is set to a value greater than zero, the outlines gradually appear as the depth difference between neighboring samples increases.

Depth parameters

Tweaking Depth parameters