I am developing game for Android in which I have to draw cube with different texture at each face.
I am using libgdx game development framework to develop this game.
My code to draw cube is as follow :
public void draw(GL10 gl)
{
Mesh cube_mesh = ModelLoaderOld.loadObj(Gdx.files.internal("data/cube.obj").read());
cube_mesh.render(GL10.GL_TRIANGLES);}
Now I want to bind 6 different texture to this cube. How can I do this?