2D Toolkit Forum

2D Toolkit => Support => Topic started by: Dajuice on March 25, 2013, 06:25:00 pm

Title: textmeshes and dynamic batching bug?
Post by: Dajuice on March 25, 2013, 06:25:00 pm
In my game, I set the max chars for a textmesh at 75 and it is batched correctly (and my test was a scene with 2 textmeshes), over that, it cannot be batched, is it a known phenomenon?
Title: Re: textmeshes and dynamic batching bug?
Post by: unikronsoftware on March 25, 2013, 07:36:32 pm
Yup. maxchars = 75 = 150 polygons (triangles) - that is quite a bit of mesh data to calculate every time. You're likely to get much better performance with tk2d 1.92, but not so much if you have normals / gradients. Each feature increases size vertex footprint and this determines how it batches.

At some point it becomes more expensive to batch than it is to draw a second batch.