I have a BufferGeometry object and I want to be able to assign a different texture to each face.
In my example here: https://jsfiddle.net/2ay716mz/ (working example)
I have setup a cube (using custom BufferGeometry not BoxGeometry seeing as I need other objects that are not cubes).
I have passed an array of materials to the mesh, one side is a texture and the other sides are all different colors.
This all works correctly...however if I try to put the texture material on any face group , other than the group[0] and group[1], then it doesn't work and just shows a color instead.
See in this example where I have set the texture to be the third material; it no longer works: https://jsfiddle.net/2ay716mz/1/
How can I solve this? Or is this a bug and should be reported to three.js github?