How can I use fog with a dome camera?

I need to add fog to a scene that is rendered using a Vray dome camera. This camera does not have an option for setting the environment ranges, so how can I do this?

Using a standard camera with spherical mapping is giving me a different distortion.

One way is to render a z-depth pass and composite the fog; the other method is to use the Layered fog option.

Best regards,
Vlado