Look for information on global illumination. I don't know how it's done in real life, we only do it in CG. But I assume the principle is the same. Photographers use global illumination frequently for product shots.