public void setShoreHardness(float shoreHardness) {
        this.shoreHardness = shoreHardness;
        if (material != null) {
            material.setFloat("ShoreHardness", shoreHardness);
        }
    }
The smaller this value is, the softer the transition between
shore and water. If you want hard edges use very big value.
Default is 0.1f.

@param shoreHardness the desired hardness (default=0.1)
jme3-effects/src/main/java/com/jme3/water/WaterFilter.java