Ads keep the MarioWiki independent and free :)
The sunglasses vendor is a Pianta found in Super Mario Sunshine. He gives Mario sunglasses after the player has collected a total of thirty Shine Sprites. The sunglasses have no apparent function besides slightly darkening the screen, thereby reducing the bright effects of the sunlight. After Bowser is defeated, the vendor also outfits Mario with a sky-blue shirt with small Shine Sprite images printed on it. The shirt serves only an aesthetic purpose. Mario automatically receives both items when he speaks to the sunglasses vendor; he cannot, therefore, receive one without the other. Mario can return the sunglasses and shirt to the Pianta at any time by speaking to him a second time.
In Delfino Plaza, the sunglasses vendor is located on the small expanse of beach to the east, sitting under an umbrella. He can also be found at some point in every other location on Isle Delfino except Sirena Beach and Noki Bay. Usually, he is positioned near the beginning of a level. Pinna Park is the only level in the game to have the sunglasses vendor appear in two places; he can be encountered on the beach and inside the park. Though the sunglasses vendor is found in Pianta Village, he will not give Mario sunglasses during any of the level's episodes that take place at night.
Through an upcoming update in February 2018, Super Mario Odyssey will receive the outfit and sunglasses.