# Disable Depth and other transparent objects

**URL:** <https://forums.unrealengine.com/t/disable-depth-and-other-transparent-objects/2135233>\
**Category:** UI\
**Tags:** unreal-engine, transparency, UI, question, Blueprint\
**Created:** [November 19, 2024, 1:35pm UTC](https://forums.unrealengine.com/t/disable-depth-and-other-transparent-objects/2135233 "2024-11-19T13:35:07Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jjwisniewka](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jjwisniewka](https://forums.unrealengine.com/u/jjwisniewka)\
**Post date:** [November 19, 2024, 1:35pm UTC](https://forums.unrealengine.com/t/disable-depth-and-other-transparent-objects/2135233/1 "2024-11-19T13:35:08Z")

</div>

Hi - I wanted to create world widget that is displayed on top of all game objects. I have duplicated widget 3d pass through and disabled depth test on that object. It mostly works but I have some other objects that has transparent material and the widget is displayed behind them.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/a/9/9a9e2544beef8d7269fdb19043b006c1716c5050.jpeg)

The other (blue cube) material does not have depth disabled but somehow is displayed before widget. How can I fix it?

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [November 19, 2024, 5:24pm UTC](https://forums.unrealengine.com/t/disable-depth-and-other-transparent-objects/2135233/2 "2024-11-19T17:24:19Z")

</div>

> [@jjwisniewka](#):
>
> The other (blue cube) material does not have depth disabled but somehow is displayed before widget.

Yeah, **how** are you doing it? Because that should not be happening… 😃  
Any chance you could share the (blue) material setup? I sense it’s more than transparent?

* * *

Also, widget components are not that great with transparency - are you, somehow, making the modified widget material do something unorthodox regarding transparency?

---

<div class="post-metadata">

**Author:** ![jjwisniewka](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jjwisniewka](https://forums.unrealengine.com/u/jjwisniewka)\
**Post date:** [November 20, 2024, 5:39pm UTC](https://forums.unrealengine.com/t/disable-depth-and-other-transparent-objects/2135233/3 "2024-11-20T17:39:45Z")

</div>

Hi sure - sorry for late reply 😃

this is my blue material setup

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/2/1/821dbe282c5b5123f69a73eefd4cd1dec68d0cc5.png)

As for the widget → I just copied engine material and disabled depth test - no more changes were made.

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [November 21, 2024, 9:22am UTC](https://forums.unrealengine.com/t/disable-depth-and-other-transparent-objects/2135233/4 "2024-11-21T09:22:27Z")

</div>

tl;dr: can’t reproduce it 🤷

* * *

For what you, very clearly, show to happen under _regular_ circumstances, the widget itself would need to be transparent. Seeing how even the buttons are affected…

- is any widget elements’ alpha set to something other than 1?
- do you, perhaps, pull the widget through a retainer?

Almost certain that’s not the case since the rest of the scene _behaves_. So… what’s **is** unorthodox here?

> [@Everynone](#):
>
> **how** are you doing it?

Seems like a useful effect, even though it’s undesired here.

* * *

> **Unrelated...**
>
> _…but I’d also like to take advantage of this opportunity and express how disappointed I am with world space widget components (not) handling motion blur by default._
> 
> ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/f/4/7f4fed20b084c9d314083e7c40441ae3f1cdfcb0.jpeg)

---

<div class="post-metadata">

**Author:** ![jjwisniewka](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jjwisniewka](https://forums.unrealengine.com/u/jjwisniewka)\
**Post date:** [November 22, 2024, 8:43am UTC](https://forums.unrealengine.com/t/disable-depth-and-other-transparent-objects/2135233/5 "2024-11-22T08:43:15Z")

</div>

Ok I was able to find Translucency Sort Priority setting and increasing it fixed the issue 😃

Thanks for help!

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [December 22, 2024, 8:43am UTC](https://forums.unrealengine.com/t/disable-depth-and-other-transparent-objects/2135233/6 "2024-12-22T08:43:29Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
