Render string to texture in Android and OpenGL ES
Posted
by Eddie Ringle
on Stack Overflow
See other posts from Stack Overflow
or by Eddie Ringle
Published on 2010-04-08T15:52:32Z
Indexed on
2010/04/08
17:43 UTC
Read the original article
Hit count: 988
I've googled around everywhere, but cannot find much for rendering strings to textures and then displaying that texture on a quad on the screen. Can someone provide a run-down on the process or provide good resources that describe how? Is rendering strings to textures even the best method for displaying text in an Android OpenGL ES app?
EDIT: Okay, so LabelMaker interferes with alpha blending, the texture (created from a PNG with a transparent background) now has a solid black background, rather than a transparent background. If I comment out all the LabelMaker-related code, it works fine.
© Stack Overflow or respective owner