No, solar panels don’t need direct sunlight to generate electricity.
Modern panels are highly efficient and can produce energy from daylight, even on cloudy or overcast days.
As long as there’s light, your system will continue to generate power. If you can see your panels, they’re working!