-
-
Notifications
You must be signed in to change notification settings - Fork 36.2k
Closed
Labels
Milestone
Description
Description
Doing batchedMesh.copy(otherBatchMesh) results in a WebGL warning + nothing being rendered.
I saw that at least the _indirectTexture is not being copied inside copy(), but maybe something else is missing?
Reproduction steps
- Create and render a BatchedMesh
- Create a new one and call
newBatch.copy(oldBatch) - Hide old one and add new to the scene
Code
const b = new BachedMesh(0, 0);
b.copy(otherBatchedMesh);
scene.add(b); // <- will cause WebGL warningLive example
–
Screenshots
Version
0.175.0
Device
Desktop
Browser
Chrome
OS
Linux
