diff --git a/engine/src/core/com/jme3/shadow/AbstractShadowRenderer.java b/engine/src/core/com/jme3/shadow/AbstractShadowRenderer.java index 1666d2b8a..85ec61acf 100644 --- a/engine/src/core/com/jme3/shadow/AbstractShadowRenderer.java +++ b/engine/src/core/com/jme3/shadow/AbstractShadowRenderer.java @@ -197,10 +197,6 @@ public abstract class AbstractShadowRenderer implements SceneProcessor, Savable throw new NullPointerException(); } - if (this.edgeFilteringMode == filterMode) { - return; - } - this.edgeFilteringMode = filterMode; postshadowMat.setInt("FilterMode", filterMode.getMaterialParamValue()); postshadowMat.setFloat("PCFEdge", edgesThickness);