I have a 3D model that looks like this: enter image description here

It basically has two mashes, the pink one only has a base color value but the bottom one has some shader information: enter image description here

When I try to export it to a GLTF file, the shader of the bottom one does not export for some reason and the model looks like this:

enter image description here

Can anyone help enlighten me on why this is happening?

Blend file: https://drive.google.com/file/d/1IgwZo3mw3mxJ_RXkLnv6UcQQshZIV0mB/view?usp=sharing

  • 1
    $\begingroup$ This is the Blender manual section on the GlTF exporter. The Exported Materials section on that page goes into some detail on what is allowed. $\endgroup$
    – John Eason
    Feb 21, 2022 at 0:05

1 Answer 1


That's normal, procedural shaders can't really be exported.

What you should do is either bake your procedural texture into an image texture, or paint an image texture.

  • $\begingroup$ I baked it to an image texture and it worked. However, there is a thin black line in the middle of the donut. I made a online demo corek.herokuapp.com . In this example model is scaled by 5 so the line looks bigger than it should be. Can you tell me why might this be happening $\endgroup$
    – isa türk
    Feb 21, 2022 at 21:12
  • $\begingroup$ This can be multiple reasons, but usually because either you have UV islands too close to each other, or your baking margins are too big (causing other islands to bleed on each other) or too thin (causing the inside of islands to have unbaked parts), sometimes even both. Since you are using a real time engine to preview, then the issue can be emphasized by it since it often use mipmapping, which reduces down the resulution and might make this kind of issue extremely apparent. Learn more about it here $\endgroup$
    – L0Lock
    Feb 21, 2022 at 22:17

You must log in to answer this question.

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