What happens when light waves pass between two materials of different densities?

options:

the light doesn't pass through the second material

the light bends

the light forms a hologram

the light is in a straight line