Depth Test Weirdness

I have a project I am working on that does not seem to be handling depth of individual meshes correctly. See the video demonstration.

It’s not super realistic for me to share the entire project or put it in Playground, but here is my scene file.

I would appreciate any inputs or obvious things that I may be missing :slight_smile:

edit: This issue only occurs when I make the ocean transparent by setting the alpha.

That could be cause by a lot but try to set the camera.minZ to 1 and maxZ to 1000

Welcome aboard!

It could be a sorting problem. Try to set renderingGroupId = 1 to the hex meshes, so that they are displayed after the ocean.

1 Like

Setting the render group ID did work, though I had to set it for each child of the mesh, it does not seem to be inherited. Thank you! :smile: