Solar panels are most productive in direct sunlight, but can continue to generate power even when the sun isn't out. Windy environments can affect the panels by creating a layer of dirt on the surface of the panels, blocking the full potential of the suns rays.