SRP Batcher更合适大量不同的物体, 比如材质上用了不同的贴图、参数、等等,只要shader变种不变,即使不同材质也能合并;
GPU instancing 必须同材质同参数,只是可以自定义material block 传递不同参数 ;
由于需要每帧给GPU里传,如果数据量大绝对不如SRP Batcher 地表的草 植被 适合gpu instacning 其他的还是用srpbatcher吧;
instancing不支持skin mesh
SRP Batcher和GPU Instancing一起用不一定能得到最好的性能
参考链接:https://forum.unity.com/threads/confused-about-performance-of-srp-batching-vs-gpu-instancing.949185/
拓展链接: