0

We are having difficulties loading model in three.js

we are using OBJLoader2 because it smooths mesh properly, but somehow textures are looking way more rough then they should be.

some normal map issues: three.js

and this is the render how it should look like (with different texture) rendered

  • An excerpt of the code would help understanding your situation better, maybe you can add the initialization of the materials in question? did you set the `normalScale` property of the material? – Martin Schuhfuß May 02 '18 at 08:28
  • Also, how was the second image rendered? Is that three.js as well? – Martin Schuhfuß May 02 '18 at 08:30
  • Crossposting: https://discourse.threejs.org/t/webgl-normal-map-issue/2531 – Mugen87 May 02 '18 at 21:55
  • Have you tried changing normalScale or bumpScale on your material? – manthrax May 06 '18 at 19:35
  • there is no native support of the three.js when u load the model and using MTL. its bumpMap by default. But it should be normalMap. So if you load normalMaps manually and apply it it starts to work. – Mukhammet Gafarov May 24 '18 at 18:56

1 Answers1

0

When u load the model and using MTL its bumpMap by default. But it should be normalMap. So if you load normalMaps manually and apply it it starts to work.