Better glTF Exporter add-on for Blender
Blender's built-in glTF exporter can export separate .gltf,
.bin, and texture files, but the default workflow can leave all
exported files sitting together in one directory. Better glTF Exporter is a
small wrapper around Blender's normal glTF exporter that defaults to a cleaner
layout: the .gltf and .bin stay at the export
location, while textures go into a textures directory.
Files
- Add-on: better_gltf_exporter_addon.py
- Menu location:
File > Export > Better glTF (.gltf) - Operator:
export_scene.better_gltf
For installation, see Installing Blender add-ons.
What it exports
The add-on calls Blender's built-in bpy.ops.export_scene.gltf
operator with export_format set to
GLTF_SEPARATE. When supported by the Blender version, it also
passes export_texture_dir so copied textures are written under
the chosen texture folder.
my_asset.gltf
my_asset.bin
textures/
base_color.png
normal.png
roughness.png
Workflow
- Open the Blender file you want to export.
- Use
File > Export > Better glTF (.gltf). - Choose the destination
.gltffile. - Leave
Texture Directoryastextures, or set another relative folder name. - Export.
Options
Selected Objects Only: exports only selected objects when enabled.Apply Modifiers: asks the glTF exporter to apply modifiers when the Blender version supports that option.Punctual Lights: exports compatible point, spot, and directional lights when supported.Texture Directory: relative directory used for exported texture files. The default istextures.
Why it checks supported properties
Blender's glTF exporter options change between Blender versions. The add-on asks the active glTF operator which properties it supports, then only passes options that exist. That keeps the wrapper from failing just because one Blender version uses a slightly different option set.
Notes
- This is still Blender's built-in glTF exporter underneath.
- Use this when you want editable external files instead of a packed
.glb. - If you want a single-file export, use Blender's normal
glTF Binary (.glb)export instead. - The texture directory is relative to the exported
.gltffile.