When light travels from a less dense medium to a denser medium, it slows down and bends towards the normal. The ratio of the sine of the angle of incidence to the sine of the angle of refraction is a constant called the refractive index. The refractive index is higher for denser materials and determines how much light will bend when passing from one medium to another.