How to apply Fog or FogExp2 to a PointsMaterial particle effect

Hi!
Have a look at this post: Fog with THREE.PointsMaterial - #2 by prisoner849