State two effects caused by the refraction of light.
What is the cause of refraction of light when it passes from one medium to another?