A roof made from glass also makes it easier for engineers to integrate next-generation photovoltaic technology into cars.