Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

296
Views
three.js load glb warning 'format' is not a property of this material

three.js is throwing three.module.js:7950 THREE.MeshStandardMaterial: 'format' is not a property of this material. when I load a .glb I made in blender. Everything else works as expected. What dose this error mean? could it be that some property of my material I set in blender is not supported by threejs?

  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 found this https://threejs.org/docs/#api/en/materials/Material

.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.

but I don't really know where to go from here.

edit: i sort of know where to go from here. there is some irrelevant(ish) glb property of my materials that is not accepted by three

about 4 years ago · Juan Pablo Isaza
2 answers
Answer question

0

I actually had the same problem as you! The first problem I can think of for it is that you had a texture for the object, and the code is trying to access it but can't get it, perhaps since it is in a different folder, etc. Another possibility is that the code is trying to access the texture through files that changed when exported. Good luck! -Codeitfast

about 4 years ago · Juan Pablo Isaza Report

0

mismatch between GLTFLoader version and three, I had a old three.js version, after updating it stopped

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!