I'm working on 3D (2.5D) application in Libgdx. I've found Decals very useful for this purpose.
In my app there should be layers, that contain dynamical text, now I'm wondering what is the best way to draw text via Decals.
Currently my implementation is based on drawing BitmapFont to FBO, then I get FBO texture and bind it to Decal before DecalBatch.flush().
I think that this is maybe not the most efficient way of doing this, but can't figure out better way.
My app can contain large number of text "layers" placed into 3D world, so maybe drawing each BitmapFont to FBO, and binding FBO texture to Decal isn't the best approach.
Do you guys have some better idea? What is the most efficient way of doing this?
Tnx in advance!