# UE4.26 - Translucent material on top of another, causes the one on top not to show, why?

**URL:** <https://forums.unrealengine.com/t/ue4-26-translucent-material-on-top-of-another-causes-the-one-on-top-not-to-show-why/267734>\
**Category:** Rendering\
**Tags:** unreal-engine, UE4-26, question\
**Created:** [December 22, 2021, 10:43am UTC](https://forums.unrealengine.com/t/ue4-26-translucent-material-on-top-of-another-causes-the-one-on-top-not-to-show-why/267734 "2021-12-22T10:43:00Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![MostHost\_LA](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mosthost_la/32/907035_2.png) [@MostHost\_LA](https://forums.unrealengine.com/u/MostHost_LA)\
**Post date:** [December 23, 2021, 11:22pm UTC](https://forums.unrealengine.com/t/ue4-26-translucent-material-on-top-of-another-causes-the-one-on-top-not-to-show-why/267734/8 "2021-12-23T23:22:51Z")

</div>

> [@Arkiras](#):
>
> I can’t comment on how involved it is.

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.

> **[GitHub - UE4-OceanProject/Environment-Project](https://github.com/UE4-OceanProject/Environment-Project)**
>
> Contribute to UE4-OceanProject/Environment-Project development by creating an account on GitHub.

And

> [@Translucent Water Material - Displacement Banding Issue](https://forums.unrealengine.com/t/translucent-water-material-displacement-banding-issue/12158/4):
>
> Now in your normal transparent ocean material, add these nodes to depth test against the custom depth buffer:
> 
> ![depthtest.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/e/4/e461f4c2e43b74e1f887c47ef933e177eec0f5a6.jpeg)
> 
> Note that this depth test is far from perfect but it should be good enough for what you need.

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…

---

_[View the full topic](https://forums.unrealengine.com/t/ue4-26-translucent-material-on-top-of-another-causes-the-one-on-top-not-to-show-why/267734)._
