diff --git a/jme3-core/src/main/java/com/jme3/shadow/next/PreShadowArrayRenderer.java b/jme3-core/src/main/java/com/jme3/shadow/next/PreShadowArrayRenderer.java index 78b9507fe..1d2d11ae8 100755 --- a/jme3-core/src/main/java/com/jme3/shadow/next/PreShadowArrayRenderer.java +++ b/jme3-core/src/main/java/com/jme3/shadow/next/PreShadowArrayRenderer.java @@ -93,7 +93,7 @@ public class PreShadowArrayRenderer implements SceneProcessor { points[i] = new Vector3f(); } - prePassRenderState.setFaceCullMode(RenderState.FaceCullMode.Front); + prePassRenderState.setFaceCullMode(RenderState.FaceCullMode.Back); prePassRenderState.setColorWrite(false); prePassRenderState.setDepthWrite(true); prePassRenderState.setDepthTest(true); @@ -134,7 +134,7 @@ public class PreShadowArrayRenderer implements SceneProcessor { public void addLight(Light light) { if (array.getImage() == null) { array.setImage(new Image( - Format.Depth32F, + Format.Depth16, textureSize, textureSize, 0,