public void setNumSamplingPasses(int numSamplingPasses) {
        if (numSamplingPasses <= 0) {
            throw new IllegalArgumentException("Number of sampling passes must be greater than zero (found: " + numSamplingPasses + ").");
        }
        if (this.numSamplingPasses != numSamplingPasses) {
            this.numSamplingPasses = numSamplingPasses;
            if (initialized) {
                initFilter(assetManager, renderManager, viewPort, width, height);
            }
        }
    }
Sets the number of sampling passes in each step.
<p>
Higher values produce more glow with higher resolution, at the cost
of more passes. Lower values produce less glow with lower resolution.
<p>
The total number of passes is {@code 2n+1}: n passes for downsampling
(13 texture reads per pass per fragment), n passes for upsampling and blur
(9 texture reads per pass per fragment), and 1 pass for blending (2 texture reads
per fragment). Though, it should be noted that for each downsampling pass the
number of fragments decreases by 75%, and for each upsampling pass, the number
of fragments quadruples (which restores the number of fragments to the original
resolution).
<p>
Setting this after the filter has been initialized forces reinitialization.
<p>
default=5

@param numSamplingPasses The number of passes per donwsampling/upsampling step. Must be greater than zero.
@throws IllegalArgumentException if argument is less than or equal to zero
jme3-effects/src/main/java/com/jme3/post/filters/SoftBloomFilter.java