Skip to content

LightProbeGridWebGL: Extend from Light. - #34744

Merged
Mugen87 merged 2 commits into
mrdoob:devfrom
Mugen87:dev2
Oct 2, 2026
Merged

Mugen87 merged 2 commits into
mrdoob:devfrom
Mugen87:dev2

Conversation

@Mugen87

@Mugen87 Mugen87 commented Oct 2, 2026

Copy link
Copy Markdown
Collaborator

Closes #34742.

Description

The PR makes sure LightProbeGridWebGL extends from Light similar to LightProbeGrid (WebGPURenderer).

In this way, we can simplify how the renderer process grids by removing pushLightProbeGrid().

@Mugen87 Mugen87 added this to the r187 milestone Oct 2, 2026
@github-actions

github-actions Bot commented Oct 2, 2026 •

Copy link
Copy Markdown

📦 Bundle size

Full ESM build, minified and gzipped.

Before After Diff
Core 390.08
102.3
390.08
102.3
+0 B
+0 B
WebGL 372.97
87.24
372.97
87.24
+0 B
+0 B
WebGPU 429.73
115.83
429.73
115.83
+0 B
+0 B
WebGPU Nodes 717.4
197.15
717.4
197.15
+0 B
+0 B

🌳 Bundle size after tree-shaking

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

Before After Diff
WebGL 517.7
124.36
517.7
124.36
+0 B
+0 B
WebGPU 770
206.36
770
206.36
+0 B
+0 B
WebGPU Nodes 715.85
192.91
715.85
192.91
+0 B
+0 B

@Mugen87
Mugen87 merged commit 1ea31f3 into mrdoob:dev Oct 2, 2026
8 of 9 checks passed
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.

1 participant