refraction at spherical surface