I made foam from the water on the shore in shader graph, but if I turn on depth write on force enabled, then the foam will not work correctly in my game mode
I use URP
If I turn on depth write on force disabled, the foam will work fine, but at the same time there is a bug with water
![[enter image description here]()](https://i.stack.imgur.com/BC1fb.png)
![[[enter image description here]()]](https://i.stack.imgur.com/BbXOd.png)
![[[enter image description here]()](https://i.stack.imgur.com/L3rkR.png)
![[enter image description here]()](https://i.stack.imgur.com/Igjqe.png)
![[enter image description here]()](https://i.stack.imgur.com/uVcgA.png)