Apply texture for glb model

I took this example: Dodecahedron with a separate texture for each face
and changed it, so now the dodocahedron uses groups in its geometry, thus accepts an array of materials:
https://jsfiddle.net/prisoner849/eL75qgaf/

1 Like