if (dlsr.getShadowZExtend() > 0) { dlsr.setShadowZExtend(0); dlsr.setShadowZFadeLength(0); dlsf.setShadowZFadeLength(50); shadowZfarText.setText("(n:on/off) Shadow extend to 500 and fade to 50 : " + (dlsr.getShadowZExtend() > 0));
shadowZfarText.setText("(n:on/off) Shadow extend to 500 and fade to 50 : " + (dlsr.getShadowZExtend() > 0)); shadowZfarText.setLocalTranslation(10, viewPort.getCamera().getHeight() - 120, 0); guiNode.attachChild(shadowZfarText);