Hi guys, I got a peculiar problem : -)
Our game engine uses PIXI 5.2.4 and web GL on Chrome.
We ve noticed some animations cause extra drawcalls. I investigated those, removed all clipping masks and blend modes. It got better but the problem remained.
Then I discovered removing one certain mesh solves it. I see no diffrence between this very mesh and the others that cause no problem.
Exact same situation happened in some other spine animation. The faulty meshes doesnt look suspicious to me.
I attach:
faulty aniamtion ( the one that causes multiple drawcalls)
fixed animation ( the one with removed faulty mesh = draws one drawcall.)
screenshots from a spector js, showing the drawcalls for both files
https://we.tl/t-jIkjE11QWa < download link
No idea what might be causing it. Hope you guys can give some clue, thanks!!