Yes, black pepper may be good for eyesight. An animal study showed that piperine, the active compound in pepper, exerted a protective effect on the retina of diabetic mice against oxidative damage (17).