Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
2
Question by Luismi · Apr 01, 2010 at 08:39 AM · texturematerialimport3dsmax

Connection Unity Material Library - 3DS Max Material Library

hi,

I've been working with unity for a while and solving out lots of issues I had at the very beginning just using it but there is still a situation I can handle and it's really annoying me.

I've got a pretty nice materials library set up in my project with all the textures within a folder called textures and a type-based structure into it. Also I've got a material folder with the same structure in the project and all the materials defined with their categories, maps, settings... they all work fine and look as I need them to.

The problem comes when I work with different max files and I need them to use the textures (and of course, the materials already made) from my unity projects. I save those max files in a custom folder called "models" within my project's assets folder and they use the textures from my texture folder but I can find a way to make Unity understand I also want them to use my already pre-made materials.

I understand that is no so easy but then the problem is unity creates into my "models" folder another folder called materials where the materials are called MaxFileName - TextureName. Also, the problem is this is not always this way. Sometimes it uses materials coming from my materials library but I don't know the reason (maybe it has something to do with the texture name being the same than material name).

To sum up, I would like to know if is there any way Unity and 3ds max can share a materials library (don't know if the .mat files in max and unity are compatible either) so unity can understand the materials i'm using in max are the ones it already has.

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by alexnode · Apr 01, 2010 at 12:13 PM

OK this is not exactly an answer but I will share what I know. First of all I think that assetPostrocessor is the class that does the job, there are various scripts in the forums but nothing complete for max matlib as far as I have searched. It has many nice functions like reading user properties, strings etc. Because I am not a programmer I abandoned the idea to create a customized importer and instead I create my generic materials in unity like "A_gen_glass01" and I assign them manually. I only use the imported materials when I have unique lightmapped materials. if you import by texture for not lightmapped material then you will have to fix only the first material to look nice in unity and then all the other models with the same texture will automatically get the same material. but if you want to use different normal maps in one it will change for all and if you use this texture with another shader it will become messy. So you will have to create new materials in unity.
It might be fairly easy with user properties or a string to identify the models with generic identical material by name and assign a premade unity material. Nevertheless It is tedious work for the artist and I think that an editor script which imports identical materials properly not textures would be very welcomed .I always have to do something manual inside unity for any object I import.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

No one has followed this question yet.

Related Questions

Material models in a mess after importing to Unity 3d 0 Answers

Problem importing baked normal map from 3ds max 1 Answer

Texturing blender models in Unity 2 Answers

Textures are blurry 1 Answer

3DS Max & Unity - The best way to import a Multi/Sub-Object Material? 7 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges