Skip to content

Conversation

@sunag
Copy link
Collaborator

@sunag sunag commented May 5, 2025

Description

Use textureSampleLevel() for sampler-compatible textures and keep tsl_biquadraticTexture() for non-natively compatible textures.

@sunag sunag added this to the r177 milestone May 5, 2025
@github-actions
Copy link

github-actions bot commented May 5, 2025

📦 Bundle size

Full ESM build, minified and gzipped.

Before After Diff
WebGL 336.29
78.32
336.29
78.32
+0 B
+0 B
WebGPU 548.37
152.03
548.2
152.02
-167 B
-18 B
WebGPU Nodes 547.72
151.88
547.55
151.86
-167 B
-18 B

🌳 Bundle size after tree-shaking

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

Before After Diff
WebGL 466.23
112.58
466.23
112.58
+0 B
+0 B
WebGPU 623.15
168.73
622.98
168.71
-167 B
-21 B
WebGPU Nodes 578.02
158.02
577.85
158
-167 B
-22 B

@sunag sunag marked this pull request as ready for review May 5, 2025 20:56
@sunag sunag merged commit 7ee2f21 into mrdoob:dev May 5, 2025
12 checks passed
@sunag sunag deleted the dev-filter branch May 5, 2025 20:57
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