Transparent Ocean With Displacement Artifacts

Hi there, I have an ocean with waves and it is a translucent material. It is 2 sided. At an angle, you can see through the waves and see it’s back face, causing unwanted artifacts. I have tried using this method to cull inner faces:

https://forums.unrealengine.com/community/community-content-tools-and-tutorials/17009-tutorial-the-many-uses-of-custom-depth-in-unreal-4

This unfortunately breaks down since my ocean stretches out the the horizon, and causes noise to appear along the horizon when I adjust the depth bias. Has anyone come across this and know of an easy solution?

Ok thanks for your input! I still have the nodes in my material just in case it was the right way to go about it. I’ll do some tweaking.

You are on the right path, just have a larger bias, and potentially adapt it with distance and/or camera angle, when testing against custom depth.

If you still need help, check out the answer provided by TheBeej a few posts down here:
https://forums.unrealengine.com/development-discussion/rendering/18285-translucent-water-material-displacement-banding-issue

I had the same issue, but his solution worked perfectly!