Solar panels really need full sun. Most of them don't produce much, if any, power if there is just one small but distinct shadow across one part of the panel. But if there is general sun but just weak because of haziness or whatever, you will get some, perhaps much reduced, power. There is also a reduction in power if the sun is at an angle rather than directly overhead, and the greater the angle the greater the reduction.
They can make solar panels that function under fluorescent light, though I would be hard-pressed to point out where you could buy one for your RV. Not much market demand for one, I guess. But they make small ones for use in those hand-held calculators people used in offices some years ago. The panels you buy for sunlight don't do much with artificial lighting.