# Is this a bug or am I doing something wrong :)

**URL:** <https://discourse.threejs.org/t/is-this-a-bug-or-am-i-doing-something-wrong/19648>\
**Category:** Questions\
**Tags:** transparency\
**Created:** [October 11, 2020, 7:31pm UTC](https://discourse.threejs.org/t/is-this-a-bug-or-am-i-doing-something-wrong/19648 "2020-10-11T19:31:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tetrix](https://avatars.discourse-cdn.com/v4/letter/t/a4c791/32.png) [@Tetrix](https://discourse.threejs.org/u/Tetrix)\
**Post date:** [October 11, 2020, 7:31pm UTC](https://discourse.threejs.org/t/is-this-a-bug-or-am-i-doing-something-wrong/19648/1 "2020-10-11T19:31:37Z")

</div>

First of all hello 😛 And big thank you for maintaining this amazing library!

Here is the akward situation I’m having:  
[https://streamable.com/z9px72](https://streamable.com/z9px72)  
It seems the transparency isnt working when the model is between the sprite and the geometry (pie slice).

You can see it working fine when I’m not “over the model”.  
Let me know if this is a known thing :o

---

<div class="post-metadata">

**Author:** ![donmccurdy](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/donmccurdy/32/33209_2.png) [@donmccurdy](https://discourse.threejs.org/u/donmccurdy)\
**Post date:** [October 11, 2020, 9:11pm UTC](https://discourse.threejs.org/t/is-this-a-bug-or-am-i-doing-something-wrong/19648/2 "2020-10-11T21:11:21Z")

</div>

Try setting `.depthWrite = false` on any material where `.transparent === true`. Or, try setting `.transparent = false` and use `.alphaTest = 0.5` (ish) instead. If that’s not it, we may need more than a video to debug. 🙂

---

<div class="post-metadata">

**Author:** ![Tetrix](https://avatars.discourse-cdn.com/v4/letter/t/a4c791/32.png) [@Tetrix](https://discourse.threejs.org/u/Tetrix)\
**Post date:** [October 11, 2020, 11:43pm UTC](https://discourse.threejs.org/t/is-this-a-bug-or-am-i-doing-something-wrong/19648/3 "2020-10-11T23:43:39Z")

</div>

worked perfectly actually thank you so much 🙂
