diff --git a/engine/src/core/com/jme3/shadow/PssmShadowRenderer.java b/engine/src/core/com/jme3/shadow/PssmShadowRenderer.java index ff71038d8..f2644400d 100644 --- a/engine/src/core/com/jme3/shadow/PssmShadowRenderer.java +++ b/engine/src/core/com/jme3/shadow/PssmShadowRenderer.java @@ -220,6 +220,9 @@ public class PssmShadowRenderer implements SceneProcessor { //initializing render state for post shadow pass (modulade blending and cullmode of for back faces ) state.setBlendMode(RenderState.BlendMode.Modulate); state.setFaceCullMode(RenderState.FaceCullMode.Off); + state.setDepthWrite(false); + state.setPolyOffset(-0.1f, 0); + } /**