Kink3d / kDecals

Projection Decals for Unity's Universal Render Pipeline.
MIT License
532 stars 53 forks source link

Investigate decal batching #14

Open Kink3d opened 4 years ago

Kink3d commented 4 years ago

Currently decal draws are batched between multiple objects with one decal. Is it possible to batch multiple decals using the same Material?

mitoand9 commented 4 years ago

Hi, Just to confirm: Does this mean that if I use ten decals which are all the same (same decal, so same material), they are not getting batched together? I am getting a huge performance hit on my game due to this from what I can see in the profiler, it would be great to find a workaround.

HigginDazs commented 4 years ago

Any updates on if batching is working? Or any workarounds? I'm getting a huge performance drop when I have more than a handful of decals in a scene...