- Home /
Question by
proteinbeer · Sep 04, 2012 at 12:01 PM ·
3d texttext meshopaque
Text mesh opaque background?
Like when you drag text here with a mouse and you have black rectangle covering area. Is it possible?
Comment
Best Answer
Answer by lvictorino · Sep 04, 2012 at 01:00 PM
If you want to add a background behind the text having the exact same width / height and position you can create a quad mesh and change its size using Bounds. Something like:
Bounds textBounds = MyTextMesh.renderer.bounds;
Then you can change the newly created mesh properties according to textBounds.
That sounds good but I was looking for a way to do it more cpu-friendly way cause I need to print out bunch of text mesh at once. Thanks tho.
Your answer
Follow this Question
Related Questions
How to use sprite mask interation for 3d text mesh ? 0 Answers
Rotating TextMeshes 1 Answer
3D Text diffuse shader? 1 Answer
Doing a clipping effect with a 3D text mesh using shaders 1 Answer