Skin exposure to the sun’s UV rays is the major exacerbating factor for melasma, irrespective of the underlying cause. However, even heat and visible light can cause or worsen melasma conditions.