How do I bake glass?

Basically, I want to bake a texture map that shows darkness & reflection in some areas (kind of like how glass looks irl) for my 3D mods in the sims. this is because their engine doesnt have any sort of glass physics going on… the most you can do is make an object transparent. I have seen people use glass baking, so I know it can be done. Here is an example. This is purely a texture.