Let's say I have an asset A that contains materials X,Y,Z.
I have another asset B that also contains materials X,Y,Z.
I would like to import A and then import B and create only materials X,Y,Z in unity3D. Instead, I am getting materials A-X A-Y A-Z B-X B-Y B-Z
Now imagine I want to import 500 assets that all use X,Y,Z. I'd really rather not have 1500 materials when I only need 3.
Thanks for any tips or pointers!
I have a postprocessor that does just that: http://buchhofer.com/?p=228 adjust your paths to suit, and also your default shader type.
answered Apr 12 '10 at 09:45 PM
You have to create a script for the assetPostprocessor to say that I want unity to assign these materials. Here is an example tool that creates colliders only for the objects containing the word collider in them. The logic is the same, consider using user properties in your objects (Max,Maya) for more detailed control concerning materials.
Have a look at this answer too. here
I am still struggling to create a proper pipeline, but if you are more adept in coding it seems fairly easy to do whatever you want just by naming objects in your 3d app.
answered Apr 12 '10 at 03:03 PM