A newly-developed coating could enable buildings to have antireflective self-cleaning windows and could increase the efficiency of solar cells.