Cancer can impact vision in several ways. Ocular tumors, such as retinoblastoma or ocular melanoma, can directly affect the eyes. Additionally, cancers such as brain tumors can put pressure on the optic nerves. Some cancers may also metastasize to the eye, indirectly affecting vision.