There are two sources of light refraction. The second formula is: In the case of a pair of specific media and a ray of light of a certain color, the ratio of the sine of the angle of incidence and the sine of the angle of refraction is always constant. This second law of refraction of light is called Snell's law.