Skip to content

WebGLRenderer: Remove SUPPORTS_VERTEX_TEXTURES#32455

Merged
mrdoob merged 1 commit into
devfrom
webgl-cleanup
Dec 2, 2025
Merged

WebGLRenderer: Remove SUPPORTS_VERTEX_TEXTURES#32455
mrdoob merged 1 commit into
devfrom
webgl-cleanup

Conversation

@mrdoob

@mrdoob mrdoob commented Dec 2, 2025

Copy link
Copy Markdown
Owner

Description

Vertex textures are guaranteed to be supported in WebGL 2.0, making this check obsolete now that WebGL 1.0 support has been dropped.

@mrdoob mrdoob added this to the r182 milestone Dec 2, 2025
@github-actions

github-actions Bot commented Dec 2, 2025

Copy link
Copy Markdown

📦 Bundle size

Full ESM build, minified and gzipped.

Before After Diff
WebGL 350.43
83.06
350.3
83.02
-132 B
-47 B
WebGPU 616.03
171
616.03
171
+0 B
+0 B
WebGPU Nodes 614.64
170.74
614.64
170.74
+0 B
+0 B

🌳 Bundle size after tree-shaking

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

Before After Diff
WebGL 482.47
117.86
482.34
117.82
-130 B
-44 B
WebGPU 687.42
186.76
687.42
186.76
+0 B
+0 B
WebGPU Nodes 637.26
173.94
637.26
173.94
+0 B
+0 B

@mrdoob mrdoob merged commit 7c74b3d into dev Dec 2, 2025
10 checks passed
@mrdoob mrdoob deleted the webgl-cleanup branch December 2, 2025 17:37
@Mugen87

Mugen87 commented Dec 2, 2025

Copy link
Copy Markdown
Collaborator

I like such clean-up PRs^^.

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