Before on going more deep on this, did you watch these videos ? (there was an interruption in the first and goes the remain in the second):
They are not showing the outline in the shadows, but they do show how to get the scene without the shadows, so… pretty much you can developed from that idea! The whole thing will work on deferred and not in the forward renderer.