The deflection from a straight path undergone by a light ray or energy wave when passing obliquely from one medium to another.