Chemical changes in the eye that can lead to blindness have been identified by scientists.