Tuesday, 15 March 2011

android - libgdx write text on texture -


I know I'm a bit ahead of libgdx because it's actually a 2D library but I'm working on a 3D The application is powered by libgdx and needs to write text to a model.

I have already come so far that I am able to dynamically change the pattern of my model. To apply this texture to my model now I need to write text in a texture ... is it possible before it is libgdx? if so, how? How far do I just find the tutorials to write text on the Bitmapfonts screen, but only through SpriteBeach and I do not think there will be a possibility to write the production of SpreadBatch on a texture ...

Thank you in advance!

You can send a spritebatch (or an OpenGL drawing command) to the screen Instead of in the texture. In Libgdx you use it to complete. This tutorial covers the basics and a bit more:

No comments:

Post a Comment