reflection and refraction rays are working.