I’m having trouble wrapping my head around what causes a particular UV to tiled in a given way.
I’m trying to wrap this texture (https://cp-development.s3.amazonaws.com/wood-staples-3.jpg) around the frame here such that the outside edge is blue, the back side is white with some staples, and the inside edge is wood textured. https://www.babylonjs-playground.com/#2CU0P1#52
In particular here are the UV definitions and the coordinates as I understand them – but i can only get two of the faces to show up in the model? The wood texture never seems to get applied correctly.
var faceUV = new Array(4);
faceUV[0] = new BABYLON.Vector4(0.3, 0, 0.6, 1); // front (should be staples)
faceUV[1] = new BABYLON.Vector4(0, 0, 0.3, 1); // maybe outside? (shows up inside AND outside edge?) -- blue
faceUV[2] = new BABYLON.Vector4(0.6, 0, 1, 1); // maybe hidden front?
faceUV[3] = new BABYLON.Vector4(0.6, 0, 1, 1); // maybe inside edge? -