OpenGL Transparent Material?

How can we have transparent material with Open GL? (Windows, glasses, …)

When I click on the object, I can see through it, but if I don’t click on it anymore, it’s like if the material wasn’t transparent!


Can we also have refractive material? Even if it’s fake, it’s ok!
I now know how to fake reflections and it works great IMO

Thanks!