@Override
    public void read(JmeImporter im) throws IOException {
        super.read(im);
        InputCapsule ic = im.getCapsule(this);
        duration = ic.readFloat("duration", 1);
    }
fades the scene out (scene to black)
jme3-effects/src/main/java/com/jme3/post/filters/FadeFilter.java