RGB textures

Tutorials concerning the OpenGL® ES cross-platform API for full-function 2D and 3D graphics on the Google-Android platform.

RGB textures

Postby acolubri » Sun Apr 18, 2010 6:28 am

hi, I'm trying to create a texture with internal format GL_RGB, but when I render it, the result is invariably a white rectangle, irrespective of the color buffer I put into the texture with glTexSubImage2D. This happens on the emulator and also on a Nexus One. RGBA textures are ok. Has anyone used RGB textures successfully with the emulator and/or with an actual android device? Thanks a lot.
ac
acolubri
Once Poster
Once Poster
 
Posts: 1
Joined: Sun Apr 18, 2010 6:15 am

Top

Re: RGB textures

Postby Podachka » Mon Nov 11, 2013 5:49 pm

Good post!
Podachka
Junior Developer
Junior Developer
 
Posts: 16
Joined: Mon Nov 11, 2013 5:37 pm

Top

Return to Android 2D/3D Graphics - OpenGL Tutorials

Who is online

Users browsing this forum: No registered users and 1 guest