Modern photonic chips can pack sophisticated optical functions onto devices smaller than a fingernail. They are increasingly used to generate, manipulate and measure light for applications ranging from communications to sensing. But most of these chips rely on a single material to do the heavy lifting, limiting the range of optical effects they can produce.