The DOE has a thin structure of bumps on its surface. Light going through the bumps is delayed compared to light going through other areas, creating a phase profile. This phase profile then shapes the intensity of the beam at far-field.