better gltf exporter addon

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

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

  1. Open the Blender file you want to export.
  2. Use File > Export > Better glTF (.gltf).
  3. Choose the destination .gltf file.
  4. Leave Texture Directory as textures, or set another relative folder name.
  5. Export.

Options

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


edit this page