RoughnessMipmapper: Preserve texture UV transform (#21511)
RoughnessMipmapper: Preserve texture UV transform (#21511)

RoughnessMipmapper created a new texture and replaced existing material
textures with the copy - however, the copy didn't inherit the UV
transform properties from the source.

This could be problematic when for example the roughness map came from
the glTF file that used KHR_texture_transform extension. When rendered
with standard three.js material this by itself would not be a problem
since three.js only supports one shared transform for most material maps
but when the user overrode the material with a custom one (which
happens inside model-viewer as far as I can tell), the incorrect
offset/repeat values in the cloned texture could result in incorrect
rendering.
fyoudine/three.js,donmccurdy/three.js,06wj/three.js,looeee/three.js,looeee/three.js,06wj/three.js,jpweeks/three.js,kaisalmen/three.js,mrdoob/three.js,gero3/three.js,makc/three.js.fork,kaisalmen/three.js,Liuer/three.js,makc/three.js.fork,aardgoose/three.js,donmccurdy/three.js,fyoudine/three.js,aardgoose/three.js,jpweeks/three.js,WestLangley/three.js,greggman/three.js,WestLangley/three.js,gero3/three.js,mrdoob/three.js,Liuer/three.js,greggman/three.js