Density by camera

Hey
I’m looking for an old tutorial that Bobo posted many moons ago.
Basically i want to change density based on distance to Camera.

the link is dead though

https://www.awsthinkbox.com/krak-additive-rendering-zdepth/

Thanks in advance

Harv