Skip to content

Conversation

sunag
Copy link
Collaborator

@sunag sunag commented Jan 16, 2025

Related issue: #30337 (comment)

Description

Fix ArrayCamera pixel ratio on WebGLBackend.

@sunag sunag added this to the r173 milestone Jan 16, 2025
Copy link

📦 Bundle size

Full ESM build, minified and gzipped.

Before After Diff
WebGL 339.53
79.09
339.53
79.09
+0 B
+0 B
WebGPU 493.58
137.21
493.59
137.22
+7 B
+15 B
WebGPU Nodes 493.05
137.1
493.05
137.12
+7 B
+16 B

🌳 Bundle size after tree-shaking

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

Before After Diff
WebGL 465.41
112.16
465.41
112.16
+0 B
+0 B
WebGPU 564.11
152.87
564.12
152.88
+7 B
+13 B
WebGPU Nodes 519.5
142.44
519.5
142.46
+7 B
+13 B

@sunag sunag marked this pull request as ready for review January 16, 2025 22:06
@sunag sunag merged commit 0195417 into mrdoob:dev Jan 16, 2025
12 checks passed
@sunag sunag deleted the dev-fix-pixelratio branch January 16, 2025 22:07
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