Water shader foam Orthographic issue

Hello,

I’m currently working on a mobile-game and I added a water prefab given by the Unity support team with a good shader that gives a foam to the shorelines. It works perfectly fine when the camera is in perspective mode, which is not what I use in the game. Indeed, as soon as the orthographic mode is chosen, the foam on every object colliding with the water looks weird as the shader is working with the depth of the camera.

Any idea on anything that could solve the problem ?

2616334–183568–FXWaterPro.shader (5.49 KB)

I have the same issue, any solution ?