Opaque diffraction grating