Particle Smoke Hitting Camera

Hey guys do you know how to make a smoke particle avoid camera or fade before hitting the camera not for a game just a render sequence.
Thank you!!!

Check out PixelDepth or SceneDepth in the material editor.

The link posted above should work.