Skip to content

InstancedMesh, BatchedMesh: Fix getColorAt throwing an error when colors have not been set#33079

Merged
Mugen87 merged 2 commits into
mrdoob:devfrom
gkjohnson:instanced-batch-color-check
Feb 27, 2026
Merged

InstancedMesh, BatchedMesh: Fix getColorAt throwing an error when colors have not been set#33079
Mugen87 merged 2 commits into
mrdoob:devfrom
gkjohnson:instanced-batch-color-check

Conversation

@gkjohnson

Copy link
Copy Markdown
Collaborator

Related issue: -

Description

Previously "getColorAt" was throwing an error if a color at not already been set for an instance. Now the default of opaque white is returned.

@gkjohnson gkjohnson added this to the r184 milestone Feb 27, 2026
@github-actions

Copy link
Copy Markdown

📦 Bundle size

Full ESM build, minified and gzipped.

Before After Diff
WebGL 359.49
85.34
359.49
85.34
+0 B
+0 B
WebGPU 626.61
174.16
626.61
174.16
+0 B
+0 B
WebGPU Nodes 625.19
173.91
625.19
173.91
+0 B
+0 B

🌳 Bundle size after tree-shaking

Minimal build including a renderer, camera, empty scene, and dependencies.

Before After Diff
WebGL 491.23
119.75
491.23
119.75
+0 B
+0 B
WebGPU 700.2
189.15
700.2
189.15
+0 B
+0 B
WebGPU Nodes 649.41
176.51
649.41
176.51
+0 B
+0 B

@Mugen87 Mugen87 merged commit 3fb1d05 into mrdoob:dev Feb 27, 2026
10 checks passed
@gkjohnson gkjohnson deleted the instanced-batch-color-check branch February 27, 2026 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants