- Home /
How do I map text onto a sphere?
I'm looking for a way to map text onto a sphere (and then update it pretty frequently). It's been a while since I've used Unity, so I'm not familiar with all of the latest and greatest features, but I have two ideas. I'm just not sure if either is practical.
I could somehow write the text to a Texture2D and then give that to the sphere
I could set up a bunch of projectors around the outside of the sphere, each projecting a single character (or possibly more), and then update as required.
Is either of these ideas workable? I did some research and haven't found a lot of support for rendering text to a Texture2D, and the projector idea doesn't sound very efficient. If not, what are my options?
Answer by MrSoad · Dec 14, 2014 at 06:49 PM
Hi I would avoid the projector method. I have made a text displaying sphere for you below(just a rough example). However the Text is just an Image texture using a Material with a transparent shader), so you would need to find a way to convert your text(like you said above) in order to use this method.
EDIT : Take a look at this :
this does what you need, may take a bit of figuring out but the demo works very well.
Your answer
![](https://koobas.hobune.stream/wayback/20220613174034im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How to get ARGB values from Texture object? 1 Answer
How to resize a normal image then apply as a texture for GUI.Box()? 0 Answers
Copy non-rectangle part of one texture to another 2 Answers
How to Add texture image behind or below a 3D model with second camera? 0 Answers
Does Unity Create Multiple Atlases if I Slice a Texture > 4096x4096? 0 Answers