Search code examples
javascriptthree.jscollada

Collada material is not repeated


I have a collada model (.dae) and I load it in Three js. An object's material should look like this: enter image description here

but it looks like this: enter image description here

The color is not problem, I can adjust the light added to the THREE.Scene, but it looks like the image used for material is not repeating.


Solution

  • Seems like a non-power-of-two problem. Make sure your texture file has power of two sides (in pixels).