I have this idea of creating a large domed ceiling/roof for a building that can be made clear to see the actual sky, or made fully opaque/dark grey/black to project an artificial sky onto.
I know that things similar to this effect have been chemically achieved such as UV-activated sun glasses and remote controlled window tint, but I haven't been able to find much information that explains how this kind of thing is done chemically.
What options, chemically speaking, exist for making a large glass surface transform between being clear and opaque?
I'm looking for any known chemical that can do this in the form of a tint applied to a glass surface, or a liquid filling a hollow glass surface, or even a gas filling a hollow glass surface.
To be absolutely specific, I'm describing a chemical that can be either modified or added/removed to/from/within a glass surface to systematically control nearly full opacity or nearly full clarity of a layer applied to or contained within the surface of a curved glass panel.
Note: The opacity transition should be efficiently repeatable, meaning, the effect shouldn't deteriorate significantly with repetition.