Skip to content

ShadowNode: Fix shadow viewer inspect and introduce equirectDirection#33752

Merged
sunag merged 3 commits into
mrdoob:devfrom
sunag:dev-shadows-inspect
Jun 9, 2026
Merged

ShadowNode: Fix shadow viewer inspect and introduce equirectDirection#33752
sunag merged 3 commits into
mrdoob:devfrom
sunag:dev-shadows-inspect

Conversation

@sunag

@sunag sunag commented Jun 9, 2026

Copy link
Copy Markdown
Collaborator

Related issue: #33750

Description

Fix shadow viewer inspect using direction = equirectDirection( uv ), which is the inverse operation of uv = equirectUV( direction ). In the current scenario, it is used to inspect the point light shadow in the viewer.

image

@sunag sunag added this to the r185 milestone Jun 9, 2026
@github-actions

github-actions Bot commented Jun 9, 2026

Copy link
Copy Markdown

📦 Bundle size

Full ESM build, minified and gzipped.

Before After Diff
WebGL 365.48
86.82
365.48
86.82
+0 B
+0 B
WebGPU 664.94
183.97
665.3
184.1
+358 B
+126 B
WebGPU Nodes 662.98
183.67
663.34
183.79
+358 B
+122 B

🌳 Bundle size after tree-shaking

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

Before After Diff
WebGL 507.15
123.31
507.15
123.31
+0 B
+0 B
WebGPU 743.9
200.13
744.34
200.26
+439 B
+132 B
WebGPU Nodes 693.12
187.57
693.56
187.7
+439 B
+138 B

@sunag

sunag commented Jun 9, 2026

Copy link
Copy Markdown
Collaborator Author

/cc @WestLangley

@sunag sunag marked this pull request as ready for review June 9, 2026 07:50
@sunag sunag merged commit 0e20e6b into mrdoob:dev Jun 9, 2026
15 of 16 checks passed
@sunag sunag deleted the dev-shadows-inspect branch June 9, 2026 16:56
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