@Override
    public void read(JmeImporter im) throws IOException {
        super.read(im);
        InputCapsule ic = im.getCapsule(this);
        lightPosition = (Vector3f) ic.readSavable("lightPosition", Vector3f.ZERO);
        nbSamples = ic.readInt("nbSamples", 50);
        blurStart = ic.readFloat("blurStart", 0.02f);
        blurWidth = ic.readFloat("blurWidth", 0.9f);
        lightDensity = ic.readFloat("lightDensity", 1.4f);
        adaptive = ic.readBoolean("adaptative", true);
    }
sets the number of samples for the radial blur default is 50
the higher the value the higher the quality, but the slower the performance.

@param nbSamples the desired number of samples (default=50)
jme3-effects/src/main/java/com/jme3/post/filters/LightScatteringFilter.java