Defaulted the render back faces shadows in the AbstractShadowRenderer to true to keep the same behavior as in 3.0

This commit is contained in:
Nehon 2016-11-02 09:24:17 +01:00
parent 5495b7d064
commit 9500227ca7

View File

@ -94,7 +94,7 @@ public abstract class AbstractShadowRenderer implements SceneProcessor, Savable
protected CompareMode shadowCompareMode = CompareMode.Hardware; protected CompareMode shadowCompareMode = CompareMode.Hardware;
protected Picture[] dispPic; protected Picture[] dispPic;
protected RenderState forcedRenderState = new RenderState(); protected RenderState forcedRenderState = new RenderState();
protected Boolean renderBackFacesShadows; protected Boolean renderBackFacesShadows = true;
/** /**
* true if the fallback material should be used, otherwise false * true if the fallback material should be used, otherwise false