# Exporting overlapping material to gltf format

I am new to Blender, and trying to export a tshirt Blender model in gltf format. This model has individual materials for example front, back, collar (as given in the attached picture) etc., and also a material called "whole_design" that covers the entire model.

But when I export this model in gltf/glb format, I could see only "whole_design" material being exported and not the individual (front, back etc.) materials.

Is it possible to export the overlapping materials? Or am I doing any mistakes while setting up the Blender model or exporting the same.

• A face can only be tied to one material. I guess the exporter gets rid of unused materials when exporting, or gtlf format doesn't support materials with no tied face. I think you want to use different UV maps rather than materials, since a face can indeed support several uv maps (8 to be exact in Blender) May 19 at 8:41

But, glTF also has a relatively new extension called KHR_materials_variants that allows certain viewers to automatically swap between materials on an asset. Check out the announcement of that extension which includes an embedded demo.
There's also a glTF Meld Tool. I haven't tried this either, but this tool is said to take glTFs with identical geometry, where only the materials are different, and automatically meld them into a single glTF with KHR_materials_variants applied to it.