EdgeFilterDepthSensitivity Property |
Namespace: DigitalRune.Graphics.PostProcessing
The sensitivity defines the range at which edges are fully detected. The right sensitivity can be found through the following equation: If minDistance is the minimal distance in world space unit that is required to detect edges, maxDistance is the distance at which an edge is fully detected (100% certainty), and farPlaneDistance is the distance to the far view plane, then
depthSensitivity = farPlaneDistance / (maxDistance - minDistance