---
title: "What is glTF and GLB? The 3D format for games explained"
description: "glTF is an open 3D format for meshes, materials and animation, and GLB is the same data in one binary file. It uses meters, +Y up and triangles only."
canonical: https://appliedmanifold.com/learn/glb-gltf/
site: "Applied Manifold: The spatial compute cloud for 3D reality"
---

1.  [Home](https://appliedmanifold.com/)
2.  [Learn](https://appliedmanifold.com/learn/)
3.  glTF and GLB

LEARN // meshfx

# What is glTF and GLB

glTF is an open file format for 3D scenes: meshes, PBR materials, textures, animations and node transforms. A `.gltf` file is readable JSON that points to separate binary and image files, while `.glb` packs the same data into one binary file. You use it to move models into Godot 4, three.js and most other engines.

[Get Free API Key](https://console.appliedmanifold.com/sign-in?next=/api-keys) [meshfx docs →](https://appliedmanifold.com/docs/mesh/)

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](https://appliedmanifold.com/playground/).

-   Units: meters, +Y up
-   Triangles only, counter-clockwise front faces
-   Materials: PBR metallic-roughness
-   Pivot: the node origin

01 // WHAT IT MEANS

## What a glTF file holds

glTF comes from the Khronos Group and was made for delivering 3D to apps, so it stores data close to how engines use it: triangle meshes in vertex buffers, PBR metallic-roughness materials, skins, morph targets and keyframe animation. Its rules are fixed: meters, +Y up, counter-clockwise front faces, and node transforms, so a pivot is a node's origin.

Extensions add features such as geometry compression, KTX2 textures and extra material types. A `.gltf` with separate files is easy to inspect and diff, and a `.glb` is easier to ship and load.

02 // IN YOUR ENGINE

## glTF in each engine

-   Godot 4: the recommended 3D format. Drop a `.glb` into the project and it imports as a scene.
-   three.js: `GLTFLoader` loads `.gltf` and `.glb`, the most common path for web 3D.
-   Unity: imports glTF through Unity's glTFast package, while FBX remains the built-in default.
-   Unreal Engine 5: imports glTF and GLB as well as FBX.
-   FBX, by comparison, stores a unit scale per file, often centimeters, and that scale causes the 100x size problem.

03 // IN YOUR PROJECT

## Common glTF surprises

-   Faces disappear: the exporter wrote the winding backward, or a negative scale flipped it.
-   The model is huge or tiny: the source used centimeters and the exporter did not convert.
-   Materials look wrong: roughness and metallic were not in green and blue, or a color map was saved as linear.

04 // SPATIAL COMPILER

## Convert models to GLB by hand

The guides to [convert FBX to GLB](https://appliedmanifold.com/mesh/convert-fbx-to-glb/) and [convert OBJ to GLB](https://appliedmanifold.com/mesh/convert-obj-to-glb/) walk through each conversion by hand.

meshfx measures holes, flipped faces and non-manifold edges. Each repair is checked against the source and undone with a warning if it moves the surface too far. Hosted meshfx runs are available in the Playground.

05 // RELATED

## Related pages

-   [FBX to GLB AvailableConvert an FBX file to GLB by hand, and what changes on the way: units, axes, materials, n-gons and animation.](https://appliedmanifold.com/mesh/convert-fbx-to-glb/)
-   [OBJ to GLB AvailableConvert an OBJ file and its .mtl materials to GLB by hand, and fill in what OBJ leaves out: units, pivots, PBR materials and normals.](https://appliedmanifold.com/mesh/convert-obj-to-glb/)
-   [GLB scale AvailableglTF is always meters, so fix a wrong-size GLB by applying node scales and correcting the geometry before you export again.](https://appliedmanifold.com/mesh/fix-model-scale-glb/)
-   [GLB normals AvailableglTF culls clockwise faces and mirrored nodes flip winding, so fix orientation and scale before exporting the GLB again.](https://appliedmanifold.com/mesh/fix-flipped-normals-glb/)
-   [ORM texture AvailableAn ORM texture packs ambient occlusion, roughness and metallic into the red, green and blue of one image for cheaper PBR materials.](https://appliedmanifold.com/learn/orm-texture/)
-   [Pivot point AvailableA pivot point is the origin a model moves, rotates and scales around, and a wrong one swings doors from the middle.](https://appliedmanifold.com/learn/pivot-point/)
-   [meshfxmeshfx reads an input model, repairs surface faults and compiles reduced GLB levels of detail for Godot, three.js or any glTF loader.](https://appliedmanifold.com/docs/mesh/)

[All pages in Learn →](https://appliedmanifold.com/learn/)

[← ORM texture](https://appliedmanifold.com/learn/orm-texture/)[Game-ready model →](https://appliedmanifold.com/learn/game-ready-model/)

06 // FAQ

## glTF and GLB questions

[All questions →](https://appliedmanifold.com/faq/)

**README.GLB\_GLTF**

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

### What 3D model format should I use for Unity?

FBX is the standard path with scale factor and unit conversion on import, while glTF works through glTFast and avoids centimeter scale issues.

### What is the best 3D model format for Unreal Engine?

FBX is the standard path for collision meshes and LODs in one file, while Unreal Engine also imports glTF and GLB with PBR materials.

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

## Explore meshfx outputs

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

[Get Free API Key](https://console.appliedmanifold.com/sign-in?next=/api-keys) [meshfx →](https://appliedmanifold.com/docs/mesh/)

[All effects, guides and explainers →](https://appliedmanifold.com/effects/)
