The physics
Snell's law describes how light bends when it crosses from one transparent material into another: the product of refractive index and the sine of the angle stays the same on both sides. Light entering a denser medium (higher index) bends toward the normal; entering a lighter one, it bends away.