I don't think it's actually infinit, but it's probably very high! We do have little receptors (cones) in our eyes (retina) that react chemically to light. So the density is the resolution (and different cone types react to different wavelengths, which is why some people are coloured blind, for example)!