Well, yes, there are some glasses which can change with light. And we can say that glasses with photochromic lenses can achieve this kind of function. Generally speaking, when stuck with prescription eyeglasses, the bright sunlight is hard on the eyes. By using them, they will darken when exposed to uv rays and turn clear when not. And when the wearer enters the sunlight, the silver chlorides experience a chemical reaction that causes them to change shape. And their new shape absorbs all light, darkening the lenses. When the wearer goes back into an area without light, the molecule snap back to their original shape and no longer absorb light. So they are popular with many people. So you can just buy them and have a try.