public void setFoamIntensity(float foamIntensity) {
        this.foamIntensity = foamIntensity;
        if (material != null) {
            material.setFloat("FoamIntensity", foamIntensity);

        }
    }
sets the foam intensity default is 0.5f

@param foamIntensity the desired intensity (default=0.5)
jme3-effects/src/main/java/com/jme3/water/WaterFilter.java