Direct sunlight isn’t needed for solar panels to produce energy, they will work in all daylight weather conditions.