- Home /
Draw TextMesh Pro Text to a Texture2D at run time
I have seen many posts about this but nothing that has a definitive answer post 2014 or so. I am trying to draw TMP text directly to a Texture2d at run time with the result being a single Texture2D that contains both the text as well as the original Texture2D as shown in the image below (black square is original texture and white text is the TMP text). I was hoping I could do something with SetPixel but can't find anything on how to achieve this. Any help is greatly appreciated!
screen-shot-2018-10-11-at-52403-pm.png
(11.3 kB)
Comment
Your answer
Follow this Question
Related Questions
TextMeshProUGUI doesn't render over 3d objects in world space canvas. 0 Answers
textmeshproUGUI.rebuild() Lag on mobile devices 0 Answers
Text map problem with 3d text 1 Answer
Wrapping a Textmesh text 5 Answers
I can't change the text mesh 1 Answer