Refraction at a spherical surface