i test this coin example : GPU Instancing page-6, when i enable the instance function, the fps drop…this is bug?
Try to disable dynamic batching to see if it is batching that makes non instanced faster.
It seems not make sense .
Dynamic batching costs cpu time and is tailored so that in general, it should cost a little bit less time than the draw calls it saves.
It’s not free to use. So if instancing does even less CPU time (at cost of GPU time) and you need to save CPU time then turning off Dynamic batching when you are instancing becomes potentially faster.
So it does make sense but only if you need to save CPU time.
Or it might be a bug
Instanced Indirect is probably the best solution for this. You upload all the instance info to a compute buffer and render from that.
Can u test the example, thanks in advance
this will work in opengl es3,no compute buffer