# How to avoid self-transparency artifacts?

**URL:** <https://discourse.threejs.org/t/how-to-avoid-self-transparency-artifacts/5293>\
**Category:** Questions\
**Tags:** transparency\
**Created:** [December 10, 2018, 9:09am UTC](https://discourse.threejs.org/t/how-to-avoid-self-transparency-artifacts/5293 "2018-12-10T09:09:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sweerwen](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/sweerwen/32/2129_2.png) [@sweerwen](https://discourse.threejs.org/u/sweerwen)\
**Post date:** [December 10, 2018, 9:09am UTC](https://discourse.threejs.org/t/how-to-avoid-self-transparency-artifacts/5293/1 "2018-12-10T09:09:11Z")

</div>

when set material to transperant，model will show like below:  
 ![image](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/2X/7/762861ab0a7e4d639cae3b7db54bdf822e255040.png)  
Does anyone know why?

---

<div class="post-metadata">

**Author:** ![Mugen87](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/mugen87/32/5645_2.png) [@Mugen87](https://discourse.threejs.org/u/Mugen87)\
**Post date:** [December 10, 2018, 9:53am UTC](https://discourse.threejs.org/t/how-to-avoid-self-transparency-artifacts/5293/2 "2018-12-10T09:53:36Z")

</div>

Issues like this were discussed in the past multiple times for example:

> <https://github.com/mrdoob/three.js/issues/11539>

> <https://stackoverflow.com/questions/15994944/transparent-objects-in-threejs/15995475#15995475>

Both threads provide workarounds in order to avoid or mitigate self-transparency artifacts.

---

<div class="post-metadata">

**Author:** ![sweerwen](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/sweerwen/32/2129_2.png) [@sweerwen](https://discourse.threejs.org/u/sweerwen)\
**Post date:** [December 11, 2018, 2:17am UTC](https://discourse.threejs.org/t/how-to-avoid-self-transparency-artifacts/5293/3 "2018-12-11T02:17:25Z")

</div>

thanks for replying!  
I tried all the solution that Mentioned in these threads , but still cannot avoid the self-transparency artifacts when the model has two or more layers in one mesh , like the urinal model above.
