Photovoltaic panels can use direct or indirect sunlight to generate power, though they are most effective in direct sunlight. Solar panels will still work even when the light is reflected or partially blocked by clouds. Rain actually helps to keep your panels operating efficiently by washing away any dust or dirt. If you live in an area with a strong net metering policy, excess energy generated by your panels during sunny hours will offset energy that you use at night and other times when your system isn’t operating at full capacity.