how does a camera refract light