Sculpting light to reveal brain function