overte-org / overte

Overte open source virtual worlds platform.
https://overte.org/
Other
127 stars 47 forks source link

mtoon material model doesn't show up in Material Inspector #1028

Open JulianGro opened 1 week ago

JulianGro commented 1 week ago

When inspecting an mtoon material with the Material Inspector, it just shows up as hifi_pbr.

Auswahl_179

HifiExperiments commented 1 week ago

hm this was working at some point, I’ll take a look

HifiExperiments commented 1 week ago

so, it seems like this works if I have a single material targeting a single mesh part by index, which is what my previous tests did:

image

but if I simply add a second mesh part index target, it stops working:

image

and if I target a mesh part by material name, it similarly fails:

image

but the problem isn't specific to vrm materials. if I change the material entity to hifi_pbr, the same thing happens. so something is maybe wrong with the material layer conversions to script properties when a material is applied to multiple meshes or targets a material by name?