So I have created a plane in blender and used a video for its texture it plays perfectly well in blender but now that i have exported it into a fbx the video texture doesn’t play i assume I make it play with a mixer? but it just isn’t working:
code:
var delta;
var clock = new THREE.Clock();
loader.load('/G/resources/deathx/deathx.fbx', function(result){
result.traverse( function ( child ) {
if ( child.isMesh ) {
child.castShadow = true;
child.receiveShadow = true;
child.frustumCulled = false;
}
} );
scene.add(result);
result.scale.multiplyScalar(0.7);
result.position.y = 0;
result.position.x = 0;
result.position.z = 10;
result.updateMatrix();
mixer = new THREE.AnimationMixer( result );
result.animations.forEach( ( clip ) => {
mixer.clipAction( clip ).play();
});
});
animate:
delta = clock.getDelta();
if(mixer) mixer.update(delta);
this._threejs.render(this._scene, this._camera);