Original Post
Hi I've been doing lesson 6 and want to apply multiple textures to an object, however I am finding it tricky. I have an object and have 3 texture maps to apply to it. I want to make sure I am heading in the right direction to begin with. Is this code correct? int textureID[] = new int[3]; gl.glGenTextures(3, textureID); gl.glBindTexture(GL.GL_TEXTURE_2D, textureID[0]); gl.glBindTexture(GL.GL_TEXTURE_2D, textureID[1]); gl.glBindTexture(GL.GL_TEXTURE_2D, textureID[2]); thanks