2
$\begingroup$

Is there a way to export GLTF or do I need a plugin or something? Thanks!

Benjamin

$\endgroup$
  • $\begingroup$ Check out this tutorial on how to export your assets from Blender to WebGL/glTF 2.0 $\endgroup$ – Michael Buchman Apr 23 '19 at 17:32
4
$\begingroup$

The glTF-Blender-IO addon ships pre-installed when you download Blender 2.80 or higher. You can find it in the File -> Import and File -> Export menus, and both the *.gltf and *.glb (Binary bundle) forms are supported.

The glTF file format is intended to be a last-mile transmission format. The data is stored in a manner similar to how a modern GPU expects to find its own graphics memory arranged (with vertex attributes etc), meaning that glTF can be loaded and almost immediately rendered even on mobile devices, in WebGL, without a lot of pre-processing.

The material model in glTF does not support all of Blender's complex shader nodes. Instead, glTF offers a principled PBR (Physically-Based Rendering) material definition, and the importer/exporter does its best to translate this to/from Blender's Principled BSDF node according to some very specific rules. The rules for this are laid out in the Blender Manual.

Water Bottle

This is the Water Bottle sample model. This model and other samples can be downloaded from the glTF Sample Models repository. The glTF-Binary/*.glb form is typically the best version of any given model to download, as it bundles all the model's assets into a single file.

| improve this answer | |
$\endgroup$
0
$\begingroup$

You need to install a plugin. The official export plugin from Khronos Group can be found here.

| improve this answer | |
$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.