#Repeating texture and reflection distorted

2 messages · Page 1 of 1 (latest)

rose marten
#

I have a mesh and a texture that needs to be tiled, in blender I use the internal node mapping and scale and repeat the tiles correctly, but when I export it with materials and import in threejs (using r3f and <Environment/> from drei) I notice that the reflection of the material is angled, rotated incorrectly. How should I proceed? I also tried to not scale the Blender material, and use

  materials.cubeMaterial.map.wrapT = THREE.RepeatWrapping;
  materials.cubeMaterial.map.repeat.set(82, 82);

achieving the same result, the texture is tiled but the environment reflection is angled. I guess something is wrong with UV mapping but I don't know how to proceed

brazen gulch
#

most of the reflection examples using cube maps are cutting the corners for speed, throwing the result accuracy under the bus