How do I make realistic looking glass?

Here I’m using vertex colors to raise the opacity of the edge. It’s a simpler solution than some complex material hackery. You could also darken the base color with the same vertex information if you feel that it should be darker.

I modified the glass material that came with the example content.