Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

Is it better (memory, time (of developer), space) to use single model that is unwrapped and uses a single material or to break a model down into appropriate bits, each with their own smaller texture/material?

Or does it depend on the target platform as to what is acceptable - ie PC vs tablet?

An example: Say you have a typical house with a tiled roof.

  1. Model it, make sure everything is attached, unwrap the walls/roof so in your UV template the walls and roof would be in one texture file, side-by-side in say a 512x512 file.

  2. Model the roof/walls as separate objects, unwrap them individually and have two UV templates. You could then have a 256x256 file for each one.


3 Answers 3

up vote 2 down vote accepted

The short answer is it depends, or use a bit of both.

Now days I don't think you even really do textures on objects, instead you do 'materials' or 'effects' on objects.

A material can have multiple textures (1 or more basic image textures possibly with transparency, another for normals/bump mapping, another for specular reflections (The shiny part of metal will reflect light more than the scratched dirty bits) another texture for parts that should 'glow'. Another for ambient light (although that will often be the glow texture). They will have inputs (so you can swap between multiple different textures for the 1 material, modify the colour (maybe depending on the team the model is on), change animation speeds.

You're likely to use bother depending on what kind of object you are dealing with. And you can also do hybrids between 1 texture over the whole object and individual textures and so on.

If you are talking about limited hardware (mobile/web). Or a game with simpler graphics (although in that case optimizing is less important then anyway), I think it really depends.

Firstly, how close are you going to get to the object. Something like a house will need multiple textures if you are going to be walking up close to the walls, standing on the ceiling etc... but if it's a top down game where the house never gets closer than a specific distance then it's fine to use 1 texture. Maybe you use both methods depending on which LOD model is loaded.

It will depend on the kinds of objects you are going to be using. Some more 'organic' things can only really be done with 1 big texture (think of a tree trunk). Of course something like a face will

It will also depend on how many objects you are going to be seeing on the screen at once. If you have a RTS with armies of people vs a smaller number.

For the point of view of which is easiest to implement programmer wise, there about the same. In fact if you implement the multiple texture system, that will implement the single texture option.

It should also be possible for you to use multiple different materials/textures on one continuous mesh via extra vertex attributes. One of those can be a texture id. This is much easier on modern OpenGL where you can share uniform variables between shaders (I don't know about DirectX but I assume it's possible there too). Of course if you have different properties for your shaders then this will be harder. It also takes more memory. And you have to make the meshes have that metadata (although that can be done automatically).

It's also about the content creation pipeline rather than the programming side of things. Are you (or your artist) happier making a model, unwrapping the mesh then paining on it. This will mean each model is individually textured and unique, kind of hand crafted. A Blizzard game might do something like this, it allows fast creation of simple content, that's low performance, just knock together single mesh models then paint on them with a tablet. They use a simple cartoonish painting style.

Or are you likely to share textures between various models. A game that uses tiles might want the stone brick texture on 90% of them but mix in a few extra bits on most of them. And unwrapping tile objects is going to be harder in may ways due to the geometry.

Thank you, this is what I figured but wanted to make sure. Thought perhaps over the years the underlying rendering engines would have optimized-out the disadvantages of multiple draw calls to a point where there wasn't noticeable differences. –  WSkid Jun 3 '12 at 23:06
@WSkid: Chances are on any modern system, you wouldn't notice the performance difference unless you are dealing with a very large number of objects. It's basically the difference between drawing 1 complex object and half a dozen smaller ones. If you do notice such a difference then you can look at combining all your meshes into 1 giant mesh that is done in drawn in 1 call, using geometry resets and so on (doing this you could actually combine multiple objects into 1 big mesh if you wanted, although 'cloned' objects might be tricky). –  David C. Bishop Jun 5 '12 at 5:31

With the current graphics hardware one of the simplest performance optimization rule is to minimize the amount of state changes and to draw as much as possible with the least possible amount of calls. That's also why it is wise to use a texture atlas: you need to bind the texture less often and thus can render more things at once.

Following that rule means: the fewer times the material needs to be changed the better. The best possible case would be one material for all models. You could just render all models at once: a huge speed boost.


This can depend on how detailed the textures need to be for some of the models, especially if text is included on the texture, and possible texture reuse. It is not uncommon to have a simple piece of texture that is repeated on multiple different models but may still be large enough that you do not want to duplicate it in multiple image files.

For the most part, as Mr. Beast answered, you want to limit the number of operations needed to draw things. But you may sometimes need to trade performance for ease of use, this is a common theme between programmers and artists. As such you may want to use multiple materials but make sure that you optimize the order of model before rendering as much as possible, i.e. render all of your walls, then all of your roofs.


Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.