Will my panels work if there is not direct sunlight on them?

Yes! Although, direct sunlight will provide the highest output of your system, in times of low light or inclement weather, the panels are still able to produce power at a lower level.