Consider atlasing
Atlasing is the technique of combining lots of smaller, isolated textures together into a single, large texture file in order to minimize the number of materials, and therefore draw calls, we need to use. This is effectively a means to exploit dynamic batching. Conceptually, this technique is very similar to the approaches of minimizing material usage that you learned in Chapter 3, The Benefits of Batching.
Each unique material will require an additional draw call, but each material only supports a single primary texture. Of course, they can also support multiple secondary textures, such as normal maps and emission maps. However, by combining multiple primary textures into a single large texture file, we can minimize the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access