0
The way I learnt to send a texture to a shader is more or less //Use program //Bind texture to the texture unit to its appropriate target glActiveTexture(GL_TEXTURE0 + texture_unit); glBindTexture(target, textureID); //Get the uniform location in the program and attach the texture unit GLuint lo...