Certain medications, as well as medical conditions such as diabetes and neurological disorders, can potentially affect vision, including depth perception. It’s essential to discuss any concerns about changes in vision with a healthcare provider.