A method includes generating, by an illumination source, an optical beam and coupling the optical beam into an acousto-optic device. The acousto-optic device generates structured light from the coupled optical beam by diffracting the optical beam into at least two interfering optical beams. The interfering optical beams are then used to illuminate a surface of an eye of a user of a display for use in eye-tracking.