Fri May 07, 2021 12:51 pm
Excellent, that would help to improve importing .dbo files and conversion a lot.
My .dbo importer, right now, is also not able to detect automatically if a mesh should be shaded with a leaf shader or tree shader. It would be great if the material bytes in the .dbo file could also include that information, somehow.
I noticed an issue/bug that makes some trees to not export correctly. It happens for exporting the 'Old.tre' tree. This tree makes use of the same diffuse texture for both leafs and stems, and both parts will be exported as one single material and mesh only. I checked .dbo and .obj exports. This is problematic, because the leaf material and stem material are most likely shaded with two different shaders. I suggest that when there are shared textures between stems and leafs, that those should be exported as separate materials.