← Blender.Today
  • 1
  • Published 6 Aug 2019

How to export multiple UV's with glTF or GLB

Hello, wondering if anyone can enlighten me on the node structure to have glTF/GLB export respect multiple UV's. Here is my node setup, it works in Blender but not in a glTF viewer such as gltf-viewer.donmccurdy.com/

Untitled.jpg

rosscobarefoot
6 Aug 2019

2 Comments

christianclavet

The problem might not be the multiple UV but what you want to achieve with it. Normally, you'd export a single texture on a texture slot (diffuse, normal, spec, hardness, lightmap, etc) and specify a UV for that specific image.

Your current intent is to use "layers" and superimpose textures over each other on the same texture slot. That is not a "generic" texture slot ability. Your gITF viewer would need to have this ability in a specific shader (like the one you've build in blender) to be able to do that.

I don't think Blender shaders can be exported over other packages.

Josephbburg

The Blender Manual has a page on this. It might be that viewer you're using-- try importing it back into Blender. It might also be a limitation of the import/export plugin, as it is still a pretty new addition to Blender.