@Override
    public void write(JmeExporter ex) throws IOException {
        super.write(ex);
        OutputCapsule oc = ex.getCapsule(this);
        oc.write(lightPosition, "lightPosition", Vector3f.ZERO);
        oc.write(nbSamples, "nbSamples", 50);
        oc.write(blurStart, "blurStart", 0.02f);
        oc.write(blurWidth, "blurWidth", 0.9f);
        oc.write(lightDensity, "lightDensity", 1.4f);
        oc.write(adaptive, "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