Outdoorpath solar lights work at their best when positioned in direct sunlight. But even in partial shade or on cloudy days, they will still recharge. Solar lights use particles of light, called photons, to generate electricity. Photons are present in direct and indirect sunlight, so solar panels can operate in both conditions, although for optimum performance, yes, direct sunlight is best.
Plus, if you'd like to get the best out of your garden or driveway solar lights, it's important to keep them away from streetlights. They're designed to only switch on when they detect darkness, so if they're in well-lit areas at night, their performance and appearance may suffer.