How to hide a "TextMesh" behind another object?

Hi,

When I create a “TextMesh” and put behind another object, it keeps appearing (images (A) and (B)).

So, how to hide a “TextMesh” behind another object?
I want the result that apearing in image (C).

I need to show dynamic text. So, static textures don’t solve my problem.

Images:

http://wiki.unity3d.com/index.php?title=3DText

–Eric

3 Likes

thanks Eric5h5, it works :slight_smile:

Doesn’t seem to work in Unity 5, I’ve followed all the steps but it’s still drawn on top of all the gameobjects.

Should be able to use any particle / sprite shader for this these days.

Works fine; you did something wrong.

2720821--193175--Screen Shot 2016-07-22 at 10.42.11 PM.png

–Eric

He’s probably using unity ui in screen space or something daft.

Hey, I’m trying to get this to work in Unity 5 as well, but the default fonts I get in standard assets do not appear in the same way when I try to add one to the new 3d text material (it’s just blank instead of that hemisphere of words), so where did you get those font files and textures? I think that’s what is messing me up here.