This tutorial will show you how to get Z-Depth and fog in compositing out of the same render pass. It will also show you how to tweak your fog without having to go back and re-render from your 3d package. Helpful if you have limited resources and cannot afford to render passes for both.
Click here for the tutorial.