While solar panels operate more effectively in direct sunlight; even when covered by clouds photovoltaic panels are still able to generate power.

Source: SEIA.org