Now using Fresnel equations for refraction