Why don't you use a water shader (+ reflective shader) for your glass? You can add an opaque color in the water shader as well. Make waves zero or the glass breaks. Or multiply the water shader with a color shader, or use a merge shader to combine color and transparency.