Depth Blend with orthographic camera

Hello guys !
As a beginner in all the shader stuff, I followed all your tutorials. One of them was about depth fog, a very interesting effect. I noticed this tutorial only work with a perspective camera. I was wondering if you have some hints to make the same effect with an orthographic camera.
The effect: https://ibb.co/mmmeib
The shader from tutorial: https://ibb.co/h59X3b
Thanks,
Konrad
As a beginner in all the shader stuff, I followed all your tutorials. One of them was about depth fog, a very interesting effect. I noticed this tutorial only work with a perspective camera. I was wondering if you have some hints to make the same effect with an orthographic camera.
The effect: https://ibb.co/mmmeib
The shader from tutorial: https://ibb.co/h59X3b
Thanks,
Konrad