@Override
    public void read(JmeImporter importer) throws IOException {
        super.read(importer);
        InputCapsule capsule = importer.getCapsule(this);

        this.gamma = capsule.readFloat("gamma", 0.6f);
        this.numColors = capsule.readInt("numColors", 8);
        this.strength = capsule.readFloat("strength", 1f);
    }
Load properties when the filter is de-serialized, for example when
loading from a J3O file.

@param importer the importer to use (not null)
@throws IOException from the importer
jme3-effects/src/main/java/com/jme3/post/filters/PosterizationFilter.java