Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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
0
Question by TheFrankman123 · Apr 11, 2012 at 06:01 PM · optimizationmaterialstexturescinema4d

Textures/Materials and Cinema4D

This is fairly general question about Unity itself and optimizing my scene.

For the sake of reproducing levels quickly I produced seperate level pieces in C4D: Corridor, Corner, Prison Cell, T-Section etc. All of these use the same textures and materials.

When you save a C4D into Unity it imports a materials and textures folder. So i have several Cinema4D imports that have these material and textures folders all holding the same set of 5 or 6 materials (haven't done UV mapping). My question is does unity recognise that these are the same textures? So when i play my scene does it add to the draw calls because Unity thinks they are different textures.

More generally, what can i do in order to make things easier on Unity.

I haven't done a very good job explaining this but it's the best i can do. I hope you follow and can give me some tips.

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
0
Best Answer

Answer by TheFrankman123 · Apr 13, 2012 at 01:36 AM

Since realising the question wasn't getting answered i spent a lot of time doing some trial and error stuff that seems to have helped

  1. In cinema4D i connected objects on the scene to make the one object so each material was only painted on once. This in turn meant that i was only using one mesh collider in Unity rather than 2 or 3.

  2. I then used the combineMesh script to lower my drawcalls

  3. I deleted my textures, manually inserted a textures folder with all of my textures in it, then made sure that all of my models were sharing this same set of textures and in turn the same set of materials created by these textures.

My advice would be always make sure that when exporting from Cinema4D that you make your model one object, and if several parts of the object share the same material then do it in one 'live selection' rather than splitting it up. This will reduce draw calls.

Comment
Add comment · Show 1 · 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
avatar image TheFrankman123 · Apr 13, 2012 at 01:37 AM 0
Share

However, if possible i would like someone to add any further points i might have missed out and anything in reference to the original question.

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

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

How to do iPhone Optimization with materials, textures and callbacks? 1 Answer

Cinema 4d material importing? 1 Answer

Sprite-based animation - mobile memory issue 0 Answers

How to create a shader that makes the texture look far away? 0 Answers

How to fix duplication of materials with blender? 0 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