This GDExtension adds support to the Godot Engine for importing .gltf and .glb files with Draco-compressed meshes via the KHR_draco_mesh_compression extension.
This extension uses the Draco Decoder found in Blender's Draco SDK Wrapper and it uses the official Draco SDK version 1.5.7.
- Full support for loading Draco-compressed geometry in glTF 2.0 files.
- Seamless integration with Godot's existing GLTF/GLB import pipeline.
- Built as a GDExtension — no need to recompile the engine.
- Cross-platform support (depending on how you build the Draco library).
- Godot 4.5
⚠️ This extension was tested with Godot 4.5. It may work with other 4.x versions, but compatibility is not guaranteed.
You can find the latest release for Windows and Linux in Releases. For MacOs users you can follow the guide on the developer build to build your own release.
Unzip the file from the release and add the resulting folder on your main project directory.
You can import your .glb and .gltf now.
- Godot 4.5
⚠️ This extension was tested with Godot 4.5. It may work with other 4.x versions, but compatibility is not guaranteed. - C++ build environment (GCC/Clang/MSVC)
- Python
- SCons (used for building)
⚠️ Godot CPP is used by this project and is provided in the source code already.⚠️ Draco SDK is used by this project and is provided in the source code already.⚠️ VS Code is recommended and the base import path settings are provided.
git clone https://github.com/itslebi/GDDraco
cd GDDracoRun the following command inside the main GDDraco folder:
scons target=template_release⚙️ This will build the GDExtension and output the compiled binary (
.dllor.so) in thedemo/bin/directory.
gddraco.gdextension file.
Use the demo project in the demo/ folder:
- Open the project with Godot
- Reimport the existing
.glbfile with Draco compression - Or try importing your own files
GDDraco is open source and licensed under the MIT License. You are free to use, modify, and distribute this software as long as the original license and copyright notice are included.
Please note:
- Google Draco is licensed under the Apache 2.0 License
- Blender source code used for the wrapper is licensed under Apache 2.0 License (note that blender's source code is actually under GPL but these files contain an header stating otherwise).
Make sure to verify compatibility based on how you distribute or bundle binaries.
This extension was made by me alone but it would not be possible without the below open source projects!
- Godot Engine - the engine it is built for
- Google Draco - for the Draco SDK
- Blender Foundation — for the Draco wrapper code
- Khronos Group — for the glTF format and specifications
© 2025 @itslebi — Contributions welcome!