[Question] Depth Priority?

In UDK we could set the Depth Priority to Foreground which renders it on top of all other objects. Is there something similar to this in UE4?

Hi Satheesh,

Thank you for your question. Depth Priority is still under revision in UE4, so it is temporarily not exposed in the editor. Is there anything in particular you needed to do? I would be happy to help with finding a work-around.

Thank you,

Alexander

I really love to have a work-around because am recording a new demo video and it involves a TextRender in the game. This TextRender always faces the character but it also overlaps with other objects. It will be very nice to have the TextRender render on top of all other objects.

In order to render your text over the rest of the world, a solution would be to create a custom font material that has the property “Disable Depth Test” checked on. The easiest way to do that would be to copy an already existing font material and then just check it on, then set it as the material of your text component. Any actor with a material with “Disable Depth Test” will render as if it is in front of every other actor. Please let me know if there is anything else that I can assist you with.

Works like a charm! Thank you very much Alex! :smiley:

I just spent good 2 hours looking for this! Thank you! :slight_smile: