Rendering high number of entities


I’ve created 40,000 instances of a box and made them to be renderable. Performance immediately took a hit, with updates taking a noticeable amount of time leading to high latency. However, when I checked both cpu and gpu usage they were not very high. How can I do rendering such that rendering high number of entities become viable?


CPU usage was probably 100% for one of your cores, which was being the bottleneck. You can use low level rendering and drawInstanced to quickly draw many instances of an object, but aside from that there is no support for it on the high level (e.g. via Renderable) yet.


JH_K see Ideally once the ECS renderer gets integrated we can start doing faster batch updates of all the instances.