I have issue with exporting shaders on blender model. I need to export model with shaders in GLTF . The problem is that shader materials are not exporting - only the main color of Principal BSDF node. I've got an idea from google answers, that shader materials can be exported in GLTF only if the main node will be Pricipal BSDF, that is going directly though material output node. But now i have shader mixer, that goes though material output. Is there any way to change order and plug all shaders to Principal BSDF, that will be plugged directly in material output?
The glTF format has a different material model from Blender, and does not support arbitrary nodes. It uses a principled PBR model powered by textures and uniforms.
For some materials, it's possible to use the Blender Cycles "Bake" panel to render a complex node graph to a texture atlas. This allows such a material to be used even on lighter-weight mobile rendering clients that wouldn't normally support arbitrarily large numbers of shading nodes.
For complete usage instructions, see the Blender Manual on glTF.