Cannot load 16 bit data in Android Opengl ES 3.0 -


This is the code I applied to load 16 bit data:

  GLES30 .glTexImage2D (GLES30.GL_TEXTURE_2D, 0, GLES30.GL_RGB16I, Imagewidth, ImageHit, 0, GLES30.GL_RGB_INTEGER, GLES30.GL_SHORT, PixelBuffer);  

I have successfully created image texture using GL_UNSIGNED BYTE with 8 bit data. But I failed using GL_SHORT while using 16 bit data to solve this issue. Can recommend a solution for


Comments