Modified: https://codepen.io/prisoner849/pen/qBwRdQm
Used MeshLambertMaterial
instead of MeshBasicMaterial
.
One cube’s side has four vertices, so you need to provide four pairs of UV data per side.
The dice of mine:
Modified: https://codepen.io/prisoner849/pen/qBwRdQm
Used MeshLambertMaterial
instead of MeshBasicMaterial
.
One cube’s side has four vertices, so you need to provide four pairs of UV data per side.
The dice of mine: