1
Support / Isometric game using 2dToolkit, overlapping buildings > too many draw calls
« on: March 17, 2014, 03:13:22 am »
Hi,
I am running into the same issue explained here: http://2dtoolkit.com/forum/index.php/topic,1756.msg8564.html. Basically I have an isometric game with 2dToolkit with lots of overlapping buildings and troops, each set with a different draw layer to ensure they draw in the correct order so it looks isometric. Even with all the buildings in 1 sprite atlas and no troops showing up I can get around 70 draw calls because (I think) the various overlapping sprites are all set to different draw orders. Is that correct?
Am I doing something wrong, or is this just the nature of how it works?
Are there any ways to help reduce the draw calls for something like this?
I am running into the same issue explained here: http://2dtoolkit.com/forum/index.php/topic,1756.msg8564.html. Basically I have an isometric game with 2dToolkit with lots of overlapping buildings and troops, each set with a different draw layer to ensure they draw in the correct order so it looks isometric. Even with all the buildings in 1 sprite atlas and no troops showing up I can get around 70 draw calls because (I think) the various overlapping sprites are all set to different draw orders. Is that correct?
Am I doing something wrong, or is this just the nature of how it works?
Are there any ways to help reduce the draw calls for something like this?