- Home /
New UI batching problem
Hello, I have a very simple scene. Only 1 camera that only shows a color for the background, and all the other elements are UI elements, created from the same sprite atlas. When I look at the stats window it shows 8 draw calls and 0 saved by batching. I tought that using only 1 atlas will help me lower the draw calls. I will mention that this is a very big atlas 4096 X 4096 that holds almost all of my graphics, mostly UI elements.
Am I doing something wrong?
Comment
Answer by Max-Bot · Feb 25, 2015 at 11:05 PM
If you use Masks, they will affect draw calls. 1 mask = 2 draw calls. http://forum.unity3d.com/threads/unity-4-6-ui-mask-component-takes-2-draw-calls.279840
And Text fields, they won't going to batching too.