The bending of light that occurs at the interface between two transparent media. It occurs when the speed of light changes.