Disable Depth and other transparent objects

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.

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

1 Like

Yeah, how are you doing it? Because that should not be happening… :smiley:
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?

1 Like

Hi sure - sorry for late reply :smiley:

this is my blue material setup

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

1 Like

tl;dr: can’t reproduce it :person_shrugging:


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?

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.

1 Like

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

Thanks for help!

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