Activating/using GL_TEXTURE1 at OpenGL ES 2.0 for Android
问题 I'm trying to use the GL_TEXTURE1 texture unit to draw a simple shape. I know how to draw it using the standard GL_TEXTURE0, but when changing it something is not working. I thought that from my code below, I just had to change the following: glActiveTexture(GL_TEXTURE1); glUniform1i(uTextureLocation, 1); What I'm missing? Code: public class RendererClass implements Renderer { Context context; FloatBuffer verticesInBuffer; int aPositionLocation; int aTextureLocation; int uTextureLocation; int