A surface relief grating is a physical etching created in a piece of glass or plastic to act as an input or output coupling in a waveguide.