When a light ray travels through three parallel slabs with different indices of refraction, what determines the direction of bending of the light ray at each interface?
A) The intensity of the light ray
B) The wavelength of the light ray
C) The difference in the indices of refraction between the slabs
D) The color of the light ray