GLTF. Change material. Skinning not work

Sorry for my English.

I load the model and assign the material. But the object with bones disappears animation. Material tuned skinning = true. What could be the problem?


var material = new THREE.MeshLambertMaterial({map:moduleTexture.threeTextures[“material_hero”].texture, skinning:true, color: 0xffffff, emissive: 0x000000});

gltf.scene.traverse(function ( object ) {
object.material = material;

Try it with SkinnedMesh only. Meaning:

    object.material = material;
1 Like