The change in direction (apparent bending) of a light ray passing from one medium to another of different density, as from air to water or glass. The ratio of the sine of the angle of incidence to the sine of the angle of refraction is the index of refraction of the second medium. Index of refraction of a substance may also be expressed as the ratio of the velocity of light in a vacuum to its velocity in the substance. It varies with the wavelength of the incident light, temperature, and pressure. The usual light source is the D line of sodium, the standard temperature being 20C, the expression of refractive index is 20/D.