public Geometry createWaterGeometry(float width, float height) {
        Quad quad = new Quad(width, height);
        Geometry geom = new Geometry("WaterGeometry", quad);
        geom.setLocalRotation(new Quaternion().fromAngleAxis(-FastMath.HALF_PI, Vector3f.UNIT_X));
        geom.setMaterial(material);
        return geom;
    }
Creates a quad with the water material applied to it.

@param width the desired width (in mesh coordinates)
@param height the desired height (in mesh coordinates)
@return a new Geometry
jme3-effects/src/main/java/com/jme3/water/SimpleWaterProcessor.java