Hello Guest

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Raganork

Pages: [1]
1
Support / Re: Many draw calls for only one sprite collection
« on: November 24, 2014, 01:59:28 pm »
Ok. I got the point. But still, is there no other way to batch the large sprites ?

2
Support / Re: Many draw calls for only one sprite collection
« on: November 24, 2014, 11:38:30 am »
Thanks. I got it now very clear now. Its now showing the draw calls which there should actually be.

But then, for textmesh, why for every text mesh, there is 1 draw call. I mean, if there are 3 textmesh on screen, it is showing 3 draw calls. (Font is same).

Also, will you help me in understand in 'simple words', how z values can affect draw calls ? I mean, if there are sprites overlapping, will it increase draw calls. How much gap should be there between two sprites (if i want to show them overlapped).

3
Support / Re: Many draw calls for only one sprite collection
« on: November 24, 2014, 10:25:48 am »
Well, I have a image of approx 450x450 (target height is 1080). I have diced it by 32x32. Making it less diced (or no diced), will it reduce draw call ?

I read the documents (and from other threads), that if vertex count is greater than 300, then that object is not eligible for dynamic batching.

Can you please provide me the some more reasons for getting more draw calls for this scenario ?

4
Support / Re: Many draw calls for only one sprite collection
« on: November 24, 2014, 06:28:19 am »
Hi, Thanx for quick reply.

Yes, there are some sprites which are diced. Do you want to know polycount of the whole scene ?

5
Support / Many draw calls for only one sprite collection
« on: November 23, 2014, 07:51:31 am »
Hi.. I am using 2D Tookit for some time now. I have built some games (for mobile platforms).

Coming to the problem, I am making a HUD screen for my game, with all the sprites are in a single Sprite Collection. I should get only 1 draw call. But after placing sprites on their positions, I am getting around 11 draw calls, I have checked other threads too, but still no use. I have already done below things-

-> No Gizmo is turned on
-> Sprites are in different z levels (by approx 0.1 difference)
-> There are some sprites overlapping, but I am sure they are not in same z.
-> I am absolutely sure there is only one sprite collection at a time. I have disabled main camera. (my HUD screen is shown by HUD Camera)

I am not sure if I can try Sprite Static batcher (I was unaware of that till now, but I done my research on it), since I have Anchored the sprites and also, some are in different layers.

I am using Unity Free v4.5.5 and 2dToolkit v2.5.0. If anyone could help me or support me in solving this problem I will be truly grateful.
Thank you.

Edit: I was just doing some RnD work and find out that, if I duplicate a sprite, it is increasing a  draw call. This happens with only few little big sprites (450x450 in my case)

Pages: [1]