Put multiple .dae files in the same folder + all related textures. Manually did the entries in the main.materials.json file (probably something wrong here, can´t find a tutorial) Materials are not existent in game. In the material editor there should be a material called "carvillage", but there is none. Texture still shows up correctly, even without material, no idea why that is... The materials have the same name as in blender. I suppose the error is in the materials.json file. But I don´t know what it is? Adding the "persistentId" entry made no difference. __________________________________________________________________________________________ edit: Apparently it works in this form: I don´t really get the difference between the 2 except for the order of the entries but whatever it works...
The first one is suitable for the basic texture version (non-PBR) and I'm not sure why it didn't work. it can be some context or missing lines... The second one is PBR (version 1.5) and it works because It looks like it has the proper context and info. Was the second file created inside the game editor? because it's the best way to ensure the file is properly made.
yes it was created in the game editor. I will do it like that for the time being although I would prefer to write it by hand..
You can write it but it is best to use the original template. this is how I started, but now I find it easier in the game editor. tip - if you export an object and the material not show, you can create the material in the game editor and then export the object again. it will refresh in-game and will show with the new material.