before i start, this other topic was the closest i came across, i did loads of searching but still came up empty and now I’m posting my official question.
I am *trying to use GLTFLoader to load a model I have created within blender 2.82a, however, the model does render in the scene, but without any materials. The material in question contains a not so complex node tree. Using an online renderer (gltf-viewer.donmccurdy.com) to test my model and materials has no effect as the materials are not displayed.
here is a screenshot of my (not wanted) actual result…
and here is what i’m expecting…
I’ve been led to believe that the issue is with my .glb file rather than the loader?
In particular, you’ll want a Principled BSDF material, or perhaps an Emissive material. You’ll also need to bake the gradient into a Texture. Blender has tools for that, but I’m not an expect on texture baking.
I dont really understand how it became fixed, all i did was rewrite my code to use modules instead of linking a cdn and the colors appear to be correctly encoded.