# How to sort transparent double sided material faces ?

**URL:** <https://forums.unrealengine.com/t/how-to-sort-transparent-double-sided-material-faces/768187>\
**Category:** FX\
**Tags:** unreal-engine, question\
**Created:** [February 10, 2023, 5:23pm UTC](https://forums.unrealengine.com/t/how-to-sort-transparent-double-sided-material-faces/768187 "2023-02-10T17:23:43Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![phil123456](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@phil123456](https://forums.unrealengine.com/u/phil123456)\
**Post date:** [February 10, 2023, 5:23pm UTC](https://forums.unrealengine.com/t/how-to-sort-transparent-double-sided-material-faces/768187/1 "2023-02-10T17:23:44Z")

</div>

Hi,

I created a translucent double sided material on a sphere

and it apparently needs faces z-sorting

how can I fix this ?

thanks

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/e/b/5eb83bb56d8f7f1283592bfc6ef303332579ceef.jpeg)

---

<div class="post-metadata">

**Author:** ![Supremative](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/supremative/32/906564_2.png) [@Supremative](https://forums.unrealengine.com/u/Supremative)\
**Post date:** [February 10, 2023, 7:05pm UTC](https://forums.unrealengine.com/t/how-to-sort-transparent-double-sided-material-faces/768187/2 "2023-02-10T19:05:01Z")

</div>

![SortTriangles](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/e/7/5e7d8615eb55be16d9aa0d403002a640173954ae.gif)

Use SortTriangles:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/3/b/13b5582e68e9ec4604ae0028bb99eeec90a18c1c.png)

[My Products](https://www.unrealengine.com/marketplace/en-US/profile/Aleksandr+Sidorov)

---

<div class="post-metadata">

**Author:** ![OhBriz](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ohbriz/32/466374_2.png) [@OhBriz](https://forums.unrealengine.com/u/OhBriz)\
**Post date:** [February 13, 2023, 3:59pm UTC](https://forums.unrealengine.com/t/how-to-sort-transparent-double-sided-material-faces/768187/3 "2023-02-13T15:59:31Z")

</div>

For more complex geometry you might also find this interesting

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/1/2/912343f69890e6fbdcaea9ed7bae4618c1cfab4b.jpeg "Using Custom Depth in Unreal 4 to cull inner triangles.") ](https://www.youtube.com/watch?v=TKqL-gsfTWc)

> **[Custom Depth in Unreal Engine](https://www.tomlooman.com/the-many-uses-of-custom-depth-in-unreal-4/)**
>
> Unreal Engine 4 introduced a new depth buffer along with its PBR rendering system. It’s called “Custom Depth” and can be used for effects like the selection outline that is built-in in the Editor, rendering...

---

<div class="post-metadata">

**Author:** ![phil123456](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@phil123456](https://forums.unrealengine.com/u/phil123456)\
**Post date:** [March 28, 2023, 3:59pm UTC](https://forums.unrealengine.com/t/how-to-sort-transparent-double-sided-material-faces/768187/4 "2023-03-28T15:59:08Z")

</div>

I guess it’s UE5, I use UE4  
but thanks

---

<div class="post-metadata">

**Author:** ![phil123456](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@phil123456](https://forums.unrealengine.com/u/phil123456)\
**Post date:** [March 28, 2023, 4:04pm UTC](https://forums.unrealengine.com/t/how-to-sort-transparent-double-sided-material-faces/768187/5 "2023-03-28T16:04:00Z")

</div>

does not look like an answer to me

---

<div class="post-metadata">

**Author:** ![BananableOffense](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BananableOffense](https://forums.unrealengine.com/u/BananableOffense)\
**Post date:** [April 4, 2023, 7:44pm UTC](https://forums.unrealengine.com/t/how-to-sort-transparent-double-sided-material-faces/768187/6 "2023-04-04T19:44:48Z")

</div>

Aside from what has been mentioned here already, you can enable “order independent transparency” in the project settings. This will come with a slight increase in cost for translucent materials, but appears to solve all sorting problems in my tests.

---

<div class="post-metadata">

**Author:** ![phil123456](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@phil123456](https://forums.unrealengine.com/u/phil123456)\
**Post date:** [May 14, 2023, 1:07pm UTC](https://forums.unrealengine.com/t/how-to-sort-transparent-double-sided-material-faces/768187/7 "2023-05-14T13:07:00Z")

</div>

> [@BananableOffense](#):
>
> order independent transparency

again, probably UE5, not 4.27

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/6/c/16c8837af5401649de4ea3a3e5186e37b0365a84.png)

---

<div class="post-metadata">

**Author:** ![LoZioZucchino](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@LoZioZucchino](https://forums.unrealengine.com/u/LoZioZucchino)\
**Post date:** [April 12, 2024, 2:33pm UTC](https://forums.unrealengine.com/t/how-to-sort-transparent-double-sided-material-faces/768187/8 "2024-04-12T14:33:16Z")

</div>

Thanks a lot! you solved every problem i had!
