public void setUnderWaterFogDistance(float underWaterFogDistance) {
        this.underWaterFogDistance = underWaterFogDistance;
        if (material != null) {
            material.setFloat("UnderWaterFogDistance", underWaterFogDistance);
        }
    }
Sets the distance of the fog when underwater.
Default is 120 (120 world units). Use a high value to raise the view range underwater.

@param underWaterFogDistance the desired distance (in world units,
default=120)
jme3-effects/src/main/java/com/jme3/water/WaterFilter.java