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 DeadKenny · Sep 12, 2013 at 02:09 PM · c#texturematerialoptimizationmaterials

Is it bad to have this many materials?

I have 4 materials, pretty small res per human model. Is that too much, how bad is that to do?

I don't have time to UVW map so I do it like that... and also because my game is based on models being multi purpose as in interchangeable like in Borderlands... and they need to be able to change colors part by part basis.

So yeah, will that kill the cpu? The game is open world and rather complicated coding wise. Like vehicles are somewhat realistic, many weapon types etc. Poly count for player model for example is 2000 +...

So yeah, 4 materials for a humanoid model with low res like 512*512 texture size. Is that too much? Can I push it to more?

Need to know... Thanks.

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

2 Replies

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

Answer by Hoeloe · Sep 12, 2013 at 02:14 PM

Vastly depends what hardware you're aiming for. For a modern PC, 2000 polys is pretty low, and 512x512 for a texture even more so. 4 materials isn't too bad, so you should be okay. If you're aiming for mobile, however, then I doubt it's going to work out well.

Comment
Add comment · Show 3 · 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 DeadKenny · Sep 12, 2013 at 02:24 PM 0
Share

Thanks. Not for mobile... $$anonymous$$ainly for modern PC and console(hopefully), but I am ai$$anonymous$$g for some high numbers of npc's.

Anyone else got answers? Just want to see some more thoughts.

avatar image Hoeloe · Sep 12, 2013 at 02:33 PM 0
Share

Are any of the NPCs sharing materials? If most share 2 or 3 of them, you should be fine with it. If they're all different, then you might see a performance hit.

avatar image DeadKenny · Sep 12, 2013 at 03:24 PM 0
Share

Yeah I am trying to get them to use the same materials.

Like say Titnium01 is used on many objects, especially vehicles. However I am having a problem in replacing the materials in the inspector. I can only replace the bottom one for some reason. By drag and drop.

Edit: Oh lol didn't see the friggin mesh renderer part there. The Noob is strong in me.

avatar image
2

Answer by meat5000 · Sep 12, 2013 at 02:37 PM

Texture Atlasing will enable you to share a material between many objects and still display different textures on a number of them. This will help you to batch materials and save on cpu.

If you are looking at component based objects you may want to look in to mesh joining. This will reduce object count and help support Atlasing.

Really though, modern PC will not have a problem given the figures you have given.

http://forum.unity3d.com/threads/149939-Texture-Atlas-Tutorial

Comment
Add comment · Show 4 · 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 DeadKenny · Sep 12, 2013 at 03:26 PM 0
Share

Ah ok cool.

avatar image meat5000 ♦ · Sep 12, 2013 at 03:30 PM 0
Share

Added a link. Thumbs up if the answer helps you! :P

avatar image DeadKenny · Sep 12, 2013 at 03:38 PM 0
Share

Ah ok cool thanks.

Ok I'll just leave this open, but I am satisfied for now.

Can't wait to show you guys the WIP of my first ever game now lol.

Thanks for the answers. Chers.

avatar image meat5000 ♦ · Sep 13, 2013 at 10:33 AM 0
Share

I look forward to it :)

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

18 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Having a problem with the second material (on the same renderer) 0 Answers

Is it possible to calculate batch count of each material ? 0 Answers

How to apply different textures to one model? 1 Answer

Some texturing questions... 2 Answers

Do materials with same texture yet different shaders share the texture? 1 Answer


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