@Override
    public void write(JmeExporter ex) throws IOException {
        super.write(ex);
        OutputCapsule oc = ex.getCapsule(this);
        oc.write(numSamplingPasses, "numSamplingPasses", 5);
        oc.write(glowFactor, "glowFactor", 0.05f);
        oc.write(bilinearFiltering, "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