When loading a .glb file I created in Blender using three.js, I am encountering an error message
three.module.js:7950 THREE.MeshStandardMaterial: 'format' is not a property of this material.
. The rest of the content loads correctly. What does this error indicate? Could it be that a property of the material set in Blender is not supported by three.js?
const loader = new GLTFLoader();
loader.load( '/myguy.glb', function ( gltf ) {
scene.add(gltf.scene);
const myguyMesh = gltf.scene.children.find((child) => child.name === "Human_Mesh");
}, undefined, function ( error ) {
console.error( error );
} );
I came across this documentation
.format : Number
When this property is set to THREE.RGBFormat, the material is considered to be opaque and alpha values are ignored. Default is THREE.RGBAFormat.
However, I'm unsure how to proceed from here.
Edit: I realized there might be some irrelevant property in my .glb materials that three.js does not support.