0

I try to load this FBX model on ThreeJS.

https://www.dropbox.com/s/pwa31xkia8tg8v9/fbx%20threejs.zip?dl=0

it's loading correctly with animation, but all are showing black texture.

I'm using official example to load FBX from ThreeJS, i just replaced model file.

Please help, i need this for my project.

Thanks for your time! Regards

2
  • Show images of your problem, don't expect someone to download your file and open it. Are the UV coordinates on the model correct? Is the texture file being found? Have you checked for errors in the browser console? Commented Apr 21, 2017 at 9:02
  • Have you added a light to your scene??? Commented Apr 21, 2017 at 15:13

2 Answers 2

1

FBX showing black texture

i have added light to scene.

        light = new THREE.HemisphereLight(0xffffff, 0x444444, 1.0);
        light.position.set(0, 1, 0);
        scene.add(light);

        light = new THREE.DirectionalLight(0xffffff, 1.0);
        light.position.set(0, 1, 0);
        scene.add(light);
Sign up to request clarification or add additional context in comments.

Comments

0

Please check the file format of texture image. Convert the image to jpg and change your model likewise opening it in a text file. You can also check specific loader for specific image file format like TGALoader for .tga.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.