Hello, I’m trying to create a Text Render object to use as a HUD in a VR game. I want this text to always draw on top of the scene. I’ve checked the “render custom depth pass” box in the render settings for this element, but is there anything else I need to change in the project? And do the “Custom Depth Stencil Value” and “stencil write mask” do much?
I’ve tried playing around with all these settings, but although the text is obvious in “Buffer Visualisation>>Custom Depth”, it isn’t drawing on top of other elements in the scene.
Hello, I think that only works for translucent textures, and I think my material needs to be masked, because the text wasn’t readable when it was set to translucent, the text is small and it kind-of blurred into the background too much. Also, it interfered weirdly with refractive/transparent objects in the background of the scene. I’ve had to use a masked texture to make it stand out instead.
Is there a way to get a masked texture to render over the top of everything? I don’t know whether it’s relevant but I’ve also changed my setup so the text is now displayed in a widget blueprint, attached to the “motion controller pawn” in my scene. This is the easiest way I could think of to get a VR HUD working.