Skip to content

WebGPURenderer: Turn off antialiasing in compat mode.#32902

Merged
Mugen87 merged 1 commit into
mrdoob:devfrom
greggman:turn-off-antialias-in-compat
Jan 30, 2026
Merged

WebGPURenderer: Turn off antialiasing in compat mode.#32902
Mugen87 merged 1 commit into
mrdoob:devfrom
greggman:turn-off-antialias-in-compat

Conversation

@greggman

Copy link
Copy Markdown
Contributor

Related issue: #30725

Description

Turn off antialiasing in compatibility mode. Compatibility mode does not support MSAA on rgba16float textures. (nor does WebGL2). Fixing this makes a large number of examples start working in compatibility mode.

I'm not sure where this check belongs.

@github-actions

github-actions Bot commented Jan 30, 2026

Copy link
Copy Markdown

📦 Bundle size

Full ESM build, minified and gzipped.

Before After Diff
WebGL 359.21
85.29
359.21
85.29
+0 B
+0 B
WebGPU 623.24
173.14
623.28
173.16
+39 B
+12 B
WebGPU Nodes 621.82
172.9
621.86
172.91
+39 B
+13 B

🌳 Bundle size after tree-shaking

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

Before After Diff
WebGL 490.47
119.49
490.47
119.49
+0 B
+0 B
WebGPU 689.9
186.31
689.94
186.32
+39 B
+14 B
WebGPU Nodes 639.28
173.72
639.32
173.74
+39 B
+13 B

@sunag sunag added this to the r183 milestone Jan 30, 2026
Comment thread src/renderers/common/Renderer.js Outdated
@greggman greggman force-pushed the turn-off-antialias-in-compat branch from 4fd57b0 to 50c2b46 Compare January 30, 2026 22:24
@Mugen87 Mugen87 merged commit 0a17afd into mrdoob:dev Jan 30, 2026
10 checks passed
@mrdoob mrdoob changed the title WebGPU: Turn off antialiasing in compat mode. WebGPURenderer: Turn off antialiasing in compat mode. Feb 10, 2026
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.

3 participants