Windows, the vital conduits between indoor spaces and the external environment, also serve as primary entry points for harmful light waves and electromagnetic (EM) waves. However, managing light transmission and scattering typically requires different material systems and devices.