I have two cubes made with InstancedMesh:
const boxGeometry = new THREE.BoxGeometry(1,1,1); const material = new THREE.MeshStandardMaterial(); const mesh = new THREE.InstancedMesh( boxGeometry, material, 2 );
How can I set different textures(images) on each of these two cubes?
My goal is to set different textures while keeping the number of draw calls low for many cubes.
If it’s not possible, let me know if you know a different approach to have a different texture with low draw calls.