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
This commit is contained in:
parent
ba8f8db23c
commit
85b4605229
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user