unity-fracture icon indicating copy to clipboard operation
unity-fracture copied to clipboard

Batching

Open mitoand9 opened this issue 5 years ago • 1 comments

Hi,

In my custom scene, if I generate a wall with 500 chunks (each with a blue outer material and white inner material), I roughly get 2000 batches. Now, I am still learning about graphics so it may easily be a misunderstanding from my side, but I would expect the number of batches to be 1000, since there are 2 different materials per chunk, thus 2*500 = 1000.

Moreover, since they are sharing the two repeated materials, shouldn't batching actually be much lower, thus actually saving ms?

What rendering concepts am I missing?

Thanks in advance

mitoand9 avatar Apr 19 '20 20:04 mitoand9

I am also using a single directional light and environment lighting

mitoand9 avatar Apr 19 '20 20:04 mitoand9