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!