Problem of light refraction