instancedBuffers performance


I dynamically create meshes and materials, then uses instances of these for my game.

I added support to “paint” individually 3D instances by using instancedBuffers and instanceColor which is really cool :slight_smile:

I have scenes with around ~5k instances and it performers well, are there any performance traps I should be aware of by using instancedBuffers ?

@sebavan do you know of any? :thinking:

1 Like

Updating the buffers frequently requires some CPU to GPU bandwith so limiting the updates there might be a good idea :slight_smile:

1 Like