A grating whose structure is in the volume of the medium. The grating is formed by periodic differences in the index of refraction in the medium.