Looks like i have a problem with draw calls
The problem is my light system. I tint a sprite by light color in shader.
sprite.set_constant(url,"light_color",obj.light)
As i understand changing uniform in shader break batch.
Looks like now i use about 10 light colors.
So if i create 10 go with predefined uniform color is this help?
As i understand not.
Or if i have 10 different materials with different tags(light1,light2 …). Then in render draw light1 then light2 instead if drawing all by one tag.
Some others ways to do it?