I set up this diorama thing in Unreal. Nice and dandy, except the water material clips inside the fish's mouth. Not good.
So I poked around the internet, and it seems like the solution to this problem involves custom depth. Most resources point to this guide, but it seems like that's for stuff like Assassin's Creed eagle vision? I'm having a hard time understanding it. http://www.tomlooman.com/the-many-uses-of-custom-depth-in-unreal-4/
The water is translucent, there's bunch of stuff saying custom depth doesn't work for translucent stuff? I still want to be able to see the submerged parts of meshes, just not that ugly clipping inside the mouth. I was also really confused what needs to be set where, like if I have to add some node to the water, or if some setting on the fish mesh, or both?
If anyone knows any easy to understand tutorials or solutions for this I would greatly appreciate it.
Concept credit: https://www.artstation.com/artwork/dx4JQ