question about rendering lots of the same object many times

Hey all, as part of my project, I have a room with 100 pillars, they are large pillars about 50x bigger than my character, they are all the same, with about 600-700 polys each i think (have to check again)

i did some different methods but i was still wondering if i could get the numbers down even further so i can work with this technique throughout the game to save on memory and rendering etc…

Ok at the moment i have tried to place one pillar and duplicate them within unity x100 however this added up to 1 draw call for each object and for each texture and a bunch more for each light so it was way up in the 100’s

Then I tried making a collection in Max, 5 rows of 10 and duplicated them in unity, having done that my draw call was down to 2 (one object and one texture, of course with a bumped/spec floor and lights etc it’s up to about 56 draw calls.

My question is, can i get this draw call lower? I was thinking that if i could script an array so that i spawn a pillar on a grid, or will that have no benefit to the gameplay,

another question is how many draw calls can a pc handle these days?

thanks all

Take a look at the Mesh → CombineChildren component for automatic batching of multiple GameObjects.

thanks i’ll have a play with that and see what results i get :slight_smile:

cheers