Search - User list
Full Version: Multiple material assignments don't transfer to Unreal
Root » Solaris and Karma » Multiple material assignments don't transfer to Unreal
lauradangerous
Hi everyone,

I'm attempting to create and transfer material assignments from LOPs to Unreal, with no luck. A single material assigned to the whole object works mostly fine, however, when I use a Geometry Subset with a material assigned to individual prim/faces (each stored in indices), it doesn't transfer to Unreal, no sign of the primvar or anything. I've tried this method: https://www.sidefx.com/forum/topic/73293/?page=1#post-316378 [www.sidefx.com] , creating a property called "unrealAssetPath" on the material with a path to the material in Unreal in it, but it's still not seen. The value for the primvar "unrealAssetPath" gets prefixed and suffixed by an "@" for some reason.. (maybe that's the problem).

Anyway. Has anyone had any luck? Thanks so much.
jsmack
A lot of things don't support geometry subsets, I wouldn't rely on them. I can imagine a realtime oriented renderer not liking multiple materials per object, especially if an object is done in a single draw call.
lauradangerous
Ok good to know. Unreal can read meshes with multiple materials just fine. There must be another way that isn't geometry subsets? It's possible however that I'm missing something about how USD->Unreal is meant to work. It seems like a useful feature as this is common in using assets in Unreal.
lauradangerous
Sorted. We got help from SideFX with this, if you change the Familyname on the Geometry Subset to "materialBind", it works!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB