Skip to content

TSL: Export screenDPR#31809

Merged
Mugen87 merged 1 commit into
mrdoob:devfrom
shotamatsuda:fix/tsl-screen-dpr
Sep 3, 2025
Merged

TSL: Export screenDPR#31809
Mugen87 merged 1 commit into
mrdoob:devfrom
shotamatsuda:fix/tsl-screen-dpr

Conversation

@shotamatsuda

Copy link
Copy Markdown
Contributor

Description

This PR exports screenDPR from three/tsl, which is presumably supposed to be exported.

@github-actions

github-actions Bot commented Sep 3, 2025

Copy link
Copy Markdown

📦 Bundle size

Full ESM build, minified and gzipped.

Before After Diff
WebGL 338.91
79.11
338.91
79.11
+0 B
+0 B
WebGPU 579.78
159.79
579.78
159.79
+0 B
+0 B
WebGPU Nodes 578.39
159.55
578.39
159.55
+0 B
+0 B

🌳 Bundle size after tree-shaking

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

Before After Diff
WebGL 470.78
113.9
470.78
113.9
+0 B
+0 B
WebGPU 649.44
175.54
649.44
175.54
+0 B
+0 B
WebGPU Nodes 603.54
164.69
603.54
164.69
+0 B
+0 B

@Mugen87 Mugen87 added this to the r180 milestone Sep 3, 2025
@Mugen87 Mugen87 merged commit 3655e9f into mrdoob:dev Sep 3, 2025
9 checks passed
@Mugen87

Mugen87 commented Sep 3, 2025

Copy link
Copy Markdown
Collaborator

Thanks, totally forgot this when adding screenDPR 👍 .

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