Physicist Stefano Martiniani used a computer algorithm to design materials that can block light from many directions. The work could help make light-based computers possible.