Refraction of light on simulator