From 85b4605229352c7cc6837f0d9aac614cb4b4e5b2 Mon Sep 17 00:00:00 2001 From: "rem..om" Date: Sun, 7 Apr 2013 09:34:26 +0000 Subject: [PATCH] Shadows Fixed issue where Edge filtereing was not properly initialized and was causing a crash when compiling the shader git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10518 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- engine/src/core/com/jme3/shadow/AbstractShadowRenderer.java | 4 ---- 1 file changed, 4 deletions(-) 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);