Researchers at the U.S. Department of Energy’s Lawrence Berkeley National Laboratory have developed a new material that could lead to smart windows where people could control the amount of light and heat that gets through.

The material is a thin coating of nanocrystals embedded in the glass that can dynamically modify sunlight as it passes through a window. Unlike existing technologies, the coating provides selective control over visible light and heat, so the windows can maximize both energy savings and occupant comfort.