@Override
    public void read(JmeImporter im) throws IOException {
        super.read(im);
        InputCapsule ic = im.getCapsule(this);
        numSamplingPasses = ic.readInt("numSamplingPasses", 5);
        glowFactor = ic.readFloat("glowFactor", 0.05f);
        bilinearFiltering = ic.readBoolean("bilinearFiltering", true);
    }
Caps the number of sampling passes so that texture size does
not go below 1 on any axis.
<p>
A message will be logged if the number of sampling passes is changed.

@param w texture width
@param h texture height
jme3-effects/src/main/java/com/jme3/post/filters/SoftBloomFilter.java