Mental Ray's Final Gather does this. I'm not sure but at least in some renderers the Global Illumination function does this too.