0
        loader.load('IMAGE', (texture) => {
          const material = new THREE.MeshBasicMaterial({
            map: texture,
          });
            var cubeGeometry = new THREE.BoxGeometry(140, 140, 140);
            var cube = new THREE.Mesh(cubeGeometry, material);
            this.add(cube);
        });

I have this code that uses one texture for every face of the cube, but how can i adapt it so each face of the cube is a different texture?

VLAZ
  • 26,331
  • 9
  • 49
  • 67
juju
  • 11
  • 1
  • https://stackoverflow.com/questions/17418118/three-js-cube-with-different-texture-on-each-face – AndTheGodsMadeLove Jun 11 '22 at 21:55
  • 2
    Duplicate of [Three.js cube with different texture on each face](https://stackoverflow.com/questions/17418118/three-js-cube-with-different-texture-on-each-face) – M - Jun 12 '22 at 04:22

0 Answers0