Hello,
i have this
fpp.addFilter(new DirectionalLightShadowFilter(assetManager, 2048, 4) {{
setLight(sun);
setEnabled(true);
setShadowZExtend(1000f);
setShadowZFadeLength(10f);
}});
viewPort.addProcessor(fpp);
and it throws this
com.jme3.renderer.RendererException: compile error in:ShaderSource[name=Common/MatDefs/Shadow/PostShadowFilter15.frag, defines, type=Fragment, language=GLSL150] error:0(389) : error C1008: undefined variable "shadowPosition"
when i remove setShadowZFadeLength(10f);, everything works. i think its a little baby-bug