Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

texture/performance question

Discussion in 'Editor & General Support' started by Achim, Nov 26, 2010.

  1. Achim

    Achim

    Joined:
    Dec 19, 2007
    Posts:
    199
    when i have an object with more then one mesh e.g. a car with separate bumpers or a gun with removable scope or something, would it be better to make a small separate texture for each part or one big texture for all or doesnt it matter at all ?
     
  2. Jessy

    Jessy

    Joined:
    Jun 7, 2007
    Posts:
    7,325
    Anything that can use the same shader and material settings, use the same texture.

    Read the section called Don't Use Many Materials. It applies to everything, not just characters.

    http://unity3d.com/support/documentation/Manual/Modeling Optimized Characters.html

    You could get a performance boost from atlasing a lot of other objects in with your car textures, but this can get unwieldy quickly and doesn't lend itself well to changes. There's a balance to be struck and you'll have to find it for your own projects.
     
    Last edited: Nov 26, 2010
  3. Achim

    Achim

    Joined:
    Dec 19, 2007
    Posts:
    199
    thanks, shame on me i didnt take a look at the docs