I want to set the texture(tif file) to the loaded fbx

var lt = new THREE.TextureLoader();
lt.load(‘Cat.tif’, function ( texture ) {

var loader = new THREE.FBXLoader();
loader.load( 'Cat.fbx', function ( object ) {

	objCat = object;
	objCat.traverse( function ( child ) {
		if ( child instanceof THREE.Mesh ) {

			child.castShadow = true;
			child.receiveShadow = true;

			child.material.map = texture;
			child.material.needsUpdate = true;
		}
	} );

	scene.add( objCat );					

	} );
}

);

I did it as above, but the texture does not come out.
What is the problem?

I do not know for a week.
Sorry, I’m a beginner, but please answer.

As mentioned in this issue at gihub, browsers do not support TIF. You have to convert your texture to JPG or PNG.

1 Like