propellerhead99
Posts: 1
Joined: Mon Apr 04, 2016 7:55 pm

Text rendering shows first char whiteout on next

Fri Apr 08, 2016 12:27 am

Created test program to write "Quick Brown Fox" from example "OpenGL Programming .... Tutorial Text Rendering 01". Debugged program and added code necessary to fill uniform variables in shader properly. Also changed glTexImage2d GL_RED parameter to GL_ALPHA because previous is not supported, and made resulting fragment shader changes. Also downloaded latest updates from RaPI including the new driver. Results are if I render a single char all works properly. Two characters (or more) fail with a white screen. Text interface is Freetext - I looked at bitmap produced by FT_Load_Char and it looks correct. Geometry is correct. Texture coordinates are correct. Currently having trouble uploading the source. If interested provide an email address and I will send all source. Its a simple program.

Return to “OpenGLES”