0
$\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
$\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?

| 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.