This is step by step instruction how to export assets from Blender 3D to Godot Game Engine using the new .GLTF 2 file format.
Why not FBX?
Most game engines use the FBX format for importing 3D scenes, which is definitely one of the most standardized in the industry. However, this format requires the use of a closed library from Autodesk, which is distributed with more restrictive licensing terms than Godot. The plan is, sometime in the future, to offer a binary plug-in using GDNative.GODOT
Export assets from Blender 3D
- Select model to export.
- Go to Edit >> Export .
- Name your asset as you like.
- From Export Settings window chose/set:
- .GLTF2 EMBEDDED (gltf)
- Selected Objects
glTF (derivative short form of GL Transmission Format) is a file format for 3D scenes and models using the JSON standard. It is an API-neutral runtime asset delivery format. Developed by the Khronos Group 3D Formats Working Group. It was announced at HTML5DevConf 2016. Intended to be an efficient, interoperable format with minimum file size and runtime processing by apps.
glTF is an open project by Khronos available on GitHub. Khronos glTF importer/exporter ships with Blender 2.80 and higher.
glTF 2.0 Scalable, Portable PBR
Metallic-Roughness Material model
- baseColor — base color
- metallic — metalness
- roughness — roughness
- Simple to implement – mandated in core
Specular-Glossiness Material model
- diffuse — reflected diffuse color
- specular — specular color
- glossiness — glossiness
- Slightly more resources – optional extension
Simplicity is key! This is a very simple workflow which should take very little time to get used to. It also enforces a more correct way to deal with resources on export assets from Blender 3D to Godot Game Engine.