@Override
    protected void initFilter(AssetManager manager, RenderManager renderManager, ViewPort vp, int w, int h) {
        shadowRenderer.needsfallBackMaterial = true;
        material = new Material(manager, "Common/MatDefs/Shadow/PostShadowFilter.j3md");
        shadowRenderer.setPostShadowMaterial(material);
        shadowRenderer.initialize(renderManager, vp);
        this.viewPort = vp;
    }
Abstract class constructor

@param manager the application asset manager
@param shadowMapSize the size of the rendered shadowmaps (512,1024,2048,
etc...)
@param shadowRenderer the shadowRenderer to use for this Filter
jme3-core/src/main/java/com/jme3/shadow/AbstractShadowFilter.java