Draw only some instances of InstancedMesh

Hello
I’m currently working on an effect.
I’m working with an InstancedMesh for the horrizontal plane among the effects.
Due to the nature of the effect, it is seldom that all of them are used even if the maximum number is specified.
When not in use, the scale value is set to 0 to prevent drawing on the screen.
However, it seems that the object with scale 0 continues to run.
Is there a way to turn off instances that are not in use?

1 Like

Hi! Maybe this: Add/Remove objects from existing instance? · Issue #17 · pailhead/three-instanced-mesh · GitHub

1 Like

Thanks for finding the good documentation.
After reading it, I think it would be better to use it as before.
If you adjust the maxcount, the buffer size is changed and it seems to slow down the speed.