I have created a ship model I would like to use for a game, but the program I used would only let me export in a GLB file format. Once I uploaded the GLB file into the editor, I couldn’t add it into the hierarchy. I found out that Playcanvas doesn’t support GLB files, so I used some online tools to convert it into FBX files. Once I added those in, the FBX files were able to add into the hierarchy, but they had no texture. I also tried with a JSON file, but that didn’t work either. I have found that GLB files can be loaded into Playcanvas with scripts, but I want to be able to see the ship in the editor so I can move it around it easier. Can anybody tell me a way to load in GLB files into Playcanvas without scripts, or maybe converting GLB to FBX with the textures? The GLB, FBX and JSON files are all in the editor link above.
I imported the GLB into Blender and I can see the color. So I exported from Blender an FBX making sure to carry the material colors along with. Imported into PC and get he same gray. There must be something I am missing.
There is no texture for this model, the colors come from Vertex Colors. By default, the material when importing the model does not have Vertex Colors enabled. You can easily enable them by heading over to this section in the material inspector: