Skip to content

Why are my batches (draw calls) so high? Simple C# script for UNITY3D helps to decrease draw calls count

License

Notifications You must be signed in to change notification settings

V1rtus9/Unity.VSR_Batch_Minimizer

Repository files navigation

VSR Batch Minimizer

There are numerous methods to minimize batches in Unity

  1. Unity own draw call batching - https://docs.unity3d.com/Manual/DrawCallBatching.html
  2. GPU Instancing - https://docs.unity3d.com/Manual/GPUInstancing.html
  3. Combine meshes by yourself
  4. GPU skinning (skinned mesh optimization)

VSR_Batch_Minimizer allows you to combine several meshes (with different or multiple materials) in one mesh and save mesh or prefab.

Example - before: 38 batches, after: 9 batches

Asset - https://assetstore.unity.com/packages/3d/environments/historic/medieval-defense-low-poly-all-maps-27667

scene

VSR_Batch_Minimizer disabled

before

VSR_Batch_Minimizer enabled

after

V1rtus9

About

Why are my batches (draw calls) so high? Simple C# script for UNITY3D helps to decrease draw calls count

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages