Refraction and Snell's law

Light slows to $v = \frac{c}{n}$ in a material, and crossing a boundary it bends by $n_1\sin\theta_1 = n_2\sin\theta_2$, towards the normal going into a slower medium and away going into a faster one.

From AP Physics 2.