The process by which a wave is bent or turned from its original direction. In sea waves, as a wave approaches a shore obliquely, part of it reaches the shallow water near the shore while the rest is still advancing in deeper water; the part of the wave in the shallower water moves more slowly than the part in the deeper water. In seismic waves, refraction results from the wave encountering material with a different density or composition.