How do I make a glass texture with an outline? I am using cycles as my output for my creation, and currently, I am working on trying to make a glass ball with a white outline. I already separately tested the methods, however, when I try to put them together (by changing the solid material into a transparent, glass material), the outline will fill the entire shape instead of creating just an outline.

If there is a way to make glass with a real-time outline, please let me know! Thanks

The picture with the color wheel is the picture for the setup of the outline. For the outline, I used an addon called "Outline Helper" since many of the other ways to make outlines crashed Blender for me.
To illustrate the suggested solution using Fresnel.  


Combine a Glass shader (for glass) and an Emission shader (for the outline)
Add Fresnel input to drive the visibility. Change IOR to control the line thickness.
Use Colorramp  set to Constant for sharp outline edge