- Home /
How to make common material for CPU optimization?
Here's a CPU optimization tip that I didnt understand. "Use less materials in your objects, by putting separate textures into a larger texture atlas and so on." How do I do this. Is there any tutorial or something?
Answer by screenname_taken · Aug 18, 2014 at 09:38 AM
It's called Atlasing. It's done in the 3D modeling stage, when you make your model's UV map. You try to combine as many as possible on a single texture. Lets say you have a scene with 10 different homes, you try to combine their UVs into one texture so that the engine will only have to load 1 texture and 1 material for them all instead of 10.
There are some assets in the asset store i think that can combine your meshes into one and also atlas your textures if you can't do it your self in the 3D modeling program, or program it into unity.
Your answer
Follow this Question
Related Questions
Batching problem. (objects with shared material are not being batched) 2 Answers
Why is my game doing 175 SetPass calls and 2319 batches? 2 Answers
Is it possible to calculate batch count of each material ? 0 Answers
Dynamic Batching again using pool. 0 Answers
Huge texture atlas and dynamic batching of particle systems 0 Answers