The sorting, not particularly. It kind of depends on if this stuff works for it off the bat or if you need to poke into the community project for it.
And
Let’s call that a fat finger copy paste? Lol
It’s a different kind of depth test.
The right one
Should be mentioned in the same thread.
Actually that is pretty much it. Except that transparency can write in the depth buffer so there’s no need for 2 meshes nonsense.
I would suggest the community ocean and checking their functions.
In my water shader this was solved with a cusom node. And If I remember (who are we kidding. I can’t even remember what I pasted :P) it’s per-pixel…