When light enters into a medium of different optical density is.