diff --git a/src/particles/webgl/ParticleRenderer.js b/src/particles/webgl/ParticleRenderer.js index 16b8236..72522ce 100644 --- a/src/particles/webgl/ParticleRenderer.js +++ b/src/particles/webgl/ParticleRenderer.js @@ -189,7 +189,7 @@ // we always upload the dynamic buffer.uploadDynamic(children, i, amount); - const bid = container._bufferUpdateIDs[i] || 0; + const bid = container._bufferUpdateIDs[j] || 0; updateStatic = updateStatic || (buffer._updateID < bid); // we only upload the static content when we have to!