public void setDepthThreshold(float depthThreshold) {
        this.depthThreshold = depthThreshold;
        if (material != null) {
            material.setFloat("DepthThreshold", depthThreshold);
        }
    }
sets the depth threshold<br>
Defines at what threshold of difference of depth an edge is outlined default is 0.1f

@param depthThreshold the desired threshold (default=0.1)
jme3-effects/src/main/java/com/jme3/post/filters/CartoonEdgeFilter.java