How to scale and orient PBR material textures?

@Evgeni_Popov

I think you will have to modify the uv coordinates of each face to tile the textures the way you want.

Yes, that sounds like exactly what I need:

  • modifying the uv scale
  • shifting the uv coordinates
  • changing the uv rotation
  • possibly inverting the w (normal) direction

of each face of the geometry. But this is exactly where I got stuck - because what I found was this:

https://doc.babylonjs.com/how_to/more_materials#tiling

But this is related to the material/texture. What I need would be related to the geometry/face itself. Could you please tell me where I can find an explanation or an example in the playground? Or - if you have time do one face of the box in my playground project?

https://playground.babylonjs.com/#AYXLNF