kovacsv/assimpjs

How does the material system work ?

FacoBackup opened this issue · 1 comments

Hi, I've been trying to understand for the past couple of days how the material system works in this port.
Yes, the resulting JSON has a material property, but it is basically unusable due to the lack of information around it.

It would be very helpful if there was some pathway to understanding it.

Thanks in advance.

The resulting JSON is exactly the same what assimp writes as JSON output. Basically it's the JSON representation of the internal model format. This doc can be a good starting point to understand it: https://assimp-docs.readthedocs.io/en/latest/usage/use_the_lib.html#materials.