public void setWaterDepth(float depth) {
        waterDepth = depth;
        material.setFloat("waterDepth", depth);
    }
Higher values make the refraction texture shine through earlier.
Default is 1

@param depth the desired depth (default=1)
jme3-effects/src/main/java/com/jme3/water/SimpleWaterProcessor.java