Hi
how to scale image? Below I try glScalef(0.3, 0.3, 0.3); without success.
Many thanks
// bind textures on corresponding texture units
glActiveTexture(GL_TEXTURE0);
glBindTexture(GL_TEXTURE_2D, u_textureFg);
glActiveTexture(GL_TEXTURE1);
glScalef(0.3, 0.3, 0.3);
glBindTexture(GL_TEXTURE_2D, u_textureBg);
// render container
ourShader.use();
glBindVertexArray(VAO);
glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_INT, 0);