Greetings Folks,
I got a pretty huge problem with my number of draw calls.
I am about to creat a tactical round based roleplaying game and got therefore
a “gameboard”, that is based on gameobjects. At the moment it is a 12x12 field,
The objects come with 4 childs, so I got only the outlines and can coler them seperatly.
Basically, on of the fields countains 5 gameobjects and a gameboard contains 12x12 = 144 of theese objects.
I guess I don’t have to mention that this leads to a huge amount of drawcalls.
So I’m looking for some solutions to reduce them. I got the feeling that I would need to creat a model for each field, what would still lead to 144 (static) gameobjects…
A friend got the idea of creating a “plane” that can mark specific ways on the board.
A marked area should be able to get one of this forms for example.
If I could creat dynamically planes like this with code I could create the complete gameboard with one model, what would heavily reduce the number of drawcalls.
But till now I haven’t found an option of creating planes that aren’t just a rectangle.
Does anyone got a good idea how to reduce the amount of drawcalls while still giving me the ability to let the player see a grid and seperatly mark individual fields?
Thanks for any help!



I'm struggling to understand ... couldn't you just have one small tile (or perhaps four, or 30, however many "types" of tile you want) .. and just basically copy it out as many times as you want? i think you mention you are "coloring" the tiles. note that when you change the color it creates a new material -- is this the "gotchya" that is causing you problems?
– FattieDavid just added an excellent answer, also. Again, you can use say 2DToolkit to completely automate this sort of thing.
– Fattie