When light reflects off of a material with higher refractive index than the medium in which is traveling, it undergoes a 180° phase shift. In contrast, when light reflects off of a material with lower refractive index the reflected light is in phase with the incident light. This is an important principle in the field of thin-film optics.