The refraction of light (including solar radiation) as it passes from one medium to another (like from air to water) is governed by Snell's law. Snell's law describes the relationship between the angles of incidence and refraction, and the refractive indices of the two media.