3D Text with Black Outline?

Hello,

I just begin using unity, and i can’t found a way to display 3D Text with black outline and i’m looking for your advices.

Can you help me please?

Thanks a lot.

gegeunity

Are you using a editable text or a text mesh from your 3d program?

I’m using a Text Mesh.

Then you could use the cartoon outline shader directly from unity (Assets ->Import package → Toon Shading) or, if your platform does not support this, you can do a trick. Copy your mesh in your 3d Program, invert the normals and scale it to your desired size for the borders, give it a black material, done.

A text mesh is textures on quads, so that won’t work.

You can use bitmapped fonts to do effects like outlines, gradients, etc. Unity 4 made this more difficult, but there are utilities on the store that will help.

–Eric

That’s the question. Is he using a mesh thats just in text form or is it dynamic text.

That’s already answered; a Text Mesh is a component in Unity that uses textures on quads. You create it by doing Game Object → Create Other → 3D Text, or Component → Mesh → Text Mesh with an existing object.

–Eric