Replies: 1 comment 7 replies
-
When assembling scenes with multiple assets, they can have been exported with multiple shadingModes. When importing the assembly we previously searched only for a single shading mode and might miss a few materials. The vector allows searching more intensively for shadingModes and build appropriate Maya materials for each one that is found. The shading modes are searched in the order specified by the vector, and the first shadingMode that results in a Material ends the search. Getting back the previous behavior involves specifying only one shadingMode in the vector. |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi - I was a bit confused by the new vector-of-vectors
shadingMode
arg. Is there somewhere that explains what each of the args represents? And how it relates to the values output bycmds.mayaUSDListShadingModes(im=1)
?Beta Was this translation helpful? Give feedback.
All reactions