@Override
    protected Material getMaterial() {
        material.setFloat("Value", value);
        return material;
    }
Creates a FadeFilter with the given duration

@param duration the desired duration (in seconds, default=1)
jme3-effects/src/main/java/com/jme3/post/filters/FadeFilter.java