I don’t mean on the holodeck, shore leave, or when transported to the past and needing to fit in.
Seems like if you’re on an away mission to, say, a desert planet, sunglasses might be useful. I don’t recall anything wearing them.
Theres a whole page on sunglasses on Memory Alpha.
https://memory-alpha.fandom.com/wiki/Eyewear
Doctor Beverly Crusher and Guinan wore sunglasses in the Dixon Hill holonovel. (TNG: “The Big Goodbye”, “Clues”)
Does it count if it’s a memory brought on by wormhole aliens that don’t understand linear time?
Geordi La Forge
Seems like if you’re on an away mission to, say, a desert planet, sunglasses might be useful.
To a degree. Not all species need them, and it might not be considered necessary. Particularly since it adds the risk of you losing them, and inadvertently causing a violation of the Prime Directive.
Species like Vulcans have innate defences that are just as good, if not better than 21st century sunglasses, and they may rely on those instead.