1

Hi I am new to open GL in android. I tried few things like rendering objects in opengl. But I am not able to find out how to render text in open gles 2.0. Is that really so much tough? I take looks few solutions like rending as texture but is that really a good way? Is there any easy way to render text in open gles 2.0 in android.

Need help. Thank you.

nilkash
  • 7,408
  • 32
  • 99
  • 176
  • So yea… rendering text to textures is a pretty good way of doing it, and it's easier than rendering glyphs directly. –  Jan 10 '14 at 08:18

1 Answers1

0

OpenGL-ES does not provide text rendering APIs. This question is a duplicate I think, check an answer here:

Draw text in OpenGL ES (Android)

I render text using system functions then copy the result to a texture (on iOS, sorry). Variants of this approach are very common. Cross platform methods are somewhat more complex.

Community
  • 1
  • 1