Blender glTF 2.0 Exporter
This is the offical Khronos Blender glTF 2.0 exporter. This repository mainly contains Python scripts to export the internal Blender data structure to glTF 2.0. Node groups are also provided, to simulate glTF Physically-Based Rendering (PBR) materials using the Cycles renderer. Finally, several Blender scenes are provided demonstrating each feature individually.
The Khronos glTF 2.0 exporter is not available in the Add-ons tab by default, and must be installed manually by copying the
scripts/addons/io_scene_gltf2 folder into the
scripts/addons/ directory of the Blender installation, then enabling it under the Add-ons tab. Read detailed installation instructions here.
Using the exporter
Refer to user documentation. For best results with PBR materials, use the node groups provided with the exporter.
This exporter supports meshes, materials, animation (keyframes, skinning, and shape keys), and more. For a complete list of features available in glTF 2.0, see the official specification and list of extensions. This exporter allows the following extensions:
Documentation about the Blender glTF 2.0 exporter and its usage.
Location of environment maps used in the scenes.
Miscellaneous files like logos and so on.
Blender node groups for simulating the glTF 2.0 material model.
Project 'Polly' Blender and glTF 2.0 scenes.
Basic and enhanced scenes for testing the exporter.
Blender Python scripts for exporting scenes to the glTF 2.0 format.
Python scripts for testing the exporter itself.