… Rescale a Texture#

In some cases, the input images for a material are rectangular or even square e.g.

../../_images/Rescale_01.jpg

In general, procedural generated or scanned images do have this characteristic. In this example, the given material Fabric 026 is used. The tool pbr2gltf2 is used to generate the later imported material.

  1. Open a glTF File > Open… in the menu bar. e.g. Sheen Cloth

../../_images/Rescale_02.png
  1. Import a glTF having a material e.g. Fabric026 with rectangular images.

  2. Assign to the only Mesh and Primitive the Fabric026 material.

../../_images/Rescale_03.png
  1. In the material Fabric026, enable the KHR_texture_transform extensions.

../../_images/Rescale_04.png
  1. Set the Scale for the Texture Transform to e.g. 10.0 to match the original image.

../../_images/Rescale_05.png
  1. Either delete unused elements manually or press Ctrl-Shift-C, to remove them automatically.