1
$\begingroup$

I'm trying to export to gltf correct. This model is using in a-frame. The problem is that materials are missing after export. In a-frame model is represented only in black color. Settings attached.

If somebody know how to solve this, please let me know. Thanks

[Blender model]
This is how it should look like (Blender)

[A-frame]
colors are missing (A-frame)

[Export Settings]
Settings

$\endgroup$

1 Answer 1

1
$\begingroup$

glTF 2.0 specification only supports exporting PBR materials based on a metallic-roughness model.

Material support for Blender's glTF exporter only works for Cycles render materials at the moment.

And even then it requires a specific node setup to be used, as mentioned in the user documentation, through the use of a Node Group designed for this purpose. The node group is available for download from the repository.

For future versions, EEVEE material node tree support is planned, using the Principled BSDF Shader, but it is unavailable at the moment.

Also see .fbx export why there are no materials or textures?

$\endgroup$
2
  • $\begingroup$ Are you sure blender gltf work with nodes? I set up the material nodes based on doc, and textures are missing. $\endgroup$
    – June Wang
    Commented May 30, 2019 at 7:29
  • $\begingroup$ I based my answer in the documentation never tried it myself. Also see blender.stackexchange.com/questions/57531/… $\endgroup$ Commented May 30, 2019 at 16:34

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .