We already know that solar cells can be embedded in just about anything from wallpaper to stained glass, but a new solar window prototype from the National Renewable Energy Laboratory (NREL) is making headlines for its ability to responsively harness the power of the sun.

The window’s genius is that it turns opaque and generates energy only to the degree of sunshine it gets. Otherwise, it looks like normal clear glass. Existing solar windows use embedded, static sensors that can only capture a fraction of the sunlight hitting the glass’ surface. But the prototype’s thermochromic glass means that it can use the entire surface to make power—but only when it’s sunny out.

More at Curbed