Compounds from a group of plants could have the answer to treating several causes of blindness, new research suggests.