Skip to main content
1 of 3

You need to give the smoke a color based on a distance from camera.

The shader setup is here: http://blender.stackexchange.com/a/27049/7777

You can plug this as an emission volumetric shader. If you also shade all the other objects the same way, you get a custom Z-Depth pass that can handle volumetrics and also transparency.