@Override
    protected void postQueue(RenderQueue queue) {
        shadowRenderer.postQueue(queue);
         if(shadowRenderer.skipPostPass){
             //removing the shadow map so that the post pass is skipped
             material.setTexture("ShadowMap0", null);
         }
    }
Get the {@link Material material} used by this filter.
@return the {@link Material material} used by this filter.
jme3-vr/src/main/java/com/jme3/shadow/AbstractShadowFilterVR.java