unobruno Posted June 19, 2018 Share Posted June 19, 2018 Hey, i am trying do write text on a mesh. The text should only appear on the top side of the mesh. centered and also in the reading direction. I just played around and this is what i got so far: https://www.babylonjs-playground.com/#XCPP9Y#549 Its kinda buggy and i need ur help. Quote Link to comment Share on other sites More sharing options...
RaananW Posted June 19, 2018 Share Posted June 19, 2018 Hi! I am just referring to the text - here is how to achieve that - https://www.babylonjs-playground.com/#XCPP9Y#555 Do you use the orthographic camera deliberately? unobruno 1 Quote Link to comment Share on other sites More sharing options...
unobruno Posted June 19, 2018 Author Share Posted June 19, 2018 2 minutes ago, RaananW said: Do you use the orthographic camera deliberately? Yeah i use the camera deliberately. The default mouse inputs in the game are detached. I can only see a top down view. The next problem is, the text on the top side disappear and the text on the bottom side appear. As in your pg example (initial view/starting view) Quote Link to comment Share on other sites More sharing options...
Sebavan Posted June 19, 2018 Share Posted June 19, 2018 This is due to how UV work on a box. In your case either you update the UV or you can create the 6 faces of the box manually with planes. unobruno 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.