Skip to content

Conversation

sunag
Copy link
Collaborator

@sunag sunag commented Apr 29, 2025

Related issue: #31022

Description

Fix lightShadowMatrix() if renderer.shadowMap.enabled is false.

@sunag sunag added this to the r177 milestone Apr 29, 2025
Copy link

📦 Bundle size

Full ESM build, minified and gzipped.

Before After Diff
WebGL 336.33
78.33
336.33
78.33
+0 B
+0 B
WebGPU 547.81
151.89
547.85
151.9
+34 B
+15 B
WebGPU Nodes 547.16
151.73
547.2
151.74
+34 B
+15 B

🌳 Bundle size after tree-shaking

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

Before After Diff
WebGL 465.78
112.28
465.78
112.28
+0 B
+0 B
WebGPU 622.7
168.46
622.73
168.47
+34 B
+12 B
WebGPU Nodes 577.57
157.72
577.6
157.74
+34 B
+12 B

@sunag sunag marked this pull request as ready for review April 29, 2025 01:40
@sunag sunag merged commit 48712b7 into mrdoob:dev Apr 29, 2025
12 checks passed
@sunag sunag deleted the dev-fix-1 branch April 29, 2025 01:41
RuthySheffi pushed a commit to RuthySheffi/three.js that referenced this pull request Jun 5, 2025
RuthySheffi pushed a commit to RuthySheffi/three.js that referenced this pull request Jun 5, 2025
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