Hello,
i have a problem witha GLB file. If a export the file compress with DRACO from Blender with the UV Map, then when i load in threejs the parts with UV do not appear.
Without Draco:
With Draco
here the code:
var loader = new THREE.GLTFLoader(manager);
THREE.DRACOLoader.setDecoderPath( ‘modelos/draco/gltf/’ )
loader.setDRACOLoader( new THREE.DRACOLoader() );
loader.load(MODEL_PATH_75,
function (gltf) {
theModel_75 = gltf.scene;
txt = new THREE.TextureLoader().load(“textura/madera.png”);
new_mtl = new THREE.MeshBasicMaterial( { map: txt } );
cambiarMaterialBandeja(theModel_75,new_mtl);
scene.add(theModel_ribet_75)
Any Idea?