Probably a simple solution, but I have set up the face UVs for a box, so that the square texture can tile without stretching, no matter the width/height/depth of the box. But the problem is, I want the texture to always face ‘up’ on the ‘sides’ of the cube, see here:
https://www.babylonjs-playground.com/#L7AS3S#10
edit: I fixed the ‘back’ side (setting the ‘w’ value for the UV at index 0). But the ‘left’ and ‘right’ sides still need to ‘face up’.