meshfx // CONVERT // FBX TO GLB

How to convert an FBX file to GLB

You convert FBX to GLB by importing the FBX into Blender or another 3D editor and exporting glTF 2.0 (.glb). Check four things on the way: scale (FBX is often centimeters, GLB is meters), the up axis, materials (GLB keeps only PBR maps), and animation, where constraints and IK need baking (precomputing) to keyframes first.

pyrofx effects work today, and new accounts start with $5 of usage.

MODULE // meshfx AVAILABLE

meshfx measures faults, checks repairs and makes LODs for a triangle budget. meshfx runs on the hosted API: try it in the Playground.

  • FBX: often centimeters; GLB: meters
  • GLB: +Y up, triangles only
  • Bake (precompute) constraints to keys

01 // WHAT CHANGES

What changes between FBX and GLB

  • Units: FBX stores a unit scale per file, often centimeters, and GLB is always meters. A model that arrives 100 times too big or small had its unit scale applied twice or not at all.
  • Axes: an FBX file can be Y up or Z up, and GLB is always +Y up with +Z forward. The exporter converts as long as rotations are applied first.
  • Materials: FBX materials are often older Phong or Lambert setups or app-specific shaders. GLB keeps one PBR model (base color, metallic, roughness, normal, occlusion, emissive), so anything else is dropped or has to be rebuilt.
  • Geometry: FBX allows n-gons and GLB stores triangles, so the exporter triangulates.
  • Animation: skeletons, skinning, keyframes and blend shapes carry over, while constraints and IK do not.

02 // BY HAND

Convert it by hand

  1. Import the FBX into Blender or your 3D editor. If it comes in at the wrong size, change the import scale instead of scaling objects afterward.
  2. Apply rotation and scale on every object, so the exporter writes clean transforms.
  3. Check each material and connect base color, roughness, metallic and normal maps to a PBR material.
  4. Bake (precompute) constraints and IK to keyframes if the model is animated.
  5. Export glTF 2.0 with the format set to glTF Binary (.glb), +Y Up on, and animations included.
  6. Open the result in a glTF viewer or your engine and check its size, facing, materials and animation.

03 // WHY GLB

When GLB is the better file

GLB packs the mesh, materials, textures and animation into one file with fixed units and axes, which makes it the easiest format for three.js and Godot 4 and a common upload format for web viewers. Keep the FBX as your source if the same model also goes to Unity, where FBX is the default import format.

04 // meshfx

meshfx for fbx to glb

FBX and USD input are not supported by meshfx. Export glTF, GLB, OBJ, STL or surface PLY first, then inspect the measured output. Hosted meshfx runs are available in the Playground.

06 // FAQ

FBX to GLB questions

All questions →

README.CONVERT_FBX_TO_GLB
What is the best 3D model format for Godot?

glTF, usually as a GLB file, is the recommended format for Godot and carries meshes, materials, animation and node transforms in meters.

How do I load a GLB in three.js?

Use GLTFLoader from the three.js addons, call loader.load to add the scene and include lights so PBR materials render properly.

How do I apply scale and rotation before exporting an FBX?

Apply them on every object after setting the origin, so the FBX carries rotation 0 and scale 1 and no pivot offset is left.

How do I triangulate ngons before exporting a GLB?

Select faces with more than four sides and run Triangulate Faces, cutting concave ones by hand first. The GLB holds the triangles you chose.

Explore meshfx outputs

Inspect compiled meshfx outputs and their reports. Hosted meshfx runs are available in the Playground.

All effects, guides and explainers →