Skip to content

Core: Add ReversedDepthFuncs dictionary.#32983

Merged
Mugen87 merged 1 commit into
mrdoob:devfrom
Mugen87:dev6
Feb 9, 2026
Merged

Core: Add ReversedDepthFuncs dictionary.#32983
Mugen87 merged 1 commit into
mrdoob:devfrom
Mugen87:dev6

Conversation

@Mugen87

@Mugen87 Mugen87 commented Feb 9, 2026

Copy link
Copy Markdown
Collaborator

Related issue: #32967

Description

Small follow-up of #32967. The PR creates a dictionary in utils.js for selecting the correct depth functions when reversed depth buffer is in use.

@Mugen87 Mugen87 added this to the r183 milestone Feb 9, 2026
@github-actions

github-actions Bot commented Feb 9, 2026

Copy link
Copy Markdown

📦 Bundle size

Full ESM build, minified and gzipped.

Before After Diff
WebGL 359.19
85.29
359.14
85.24
-50 B
-49 B
WebGPU 621.28
173.2
621.16
173.09
-125 B
-115 B
WebGPU Nodes 619.86
172.95
619.74
172.84
-125 B
-108 B

🌳 Bundle size after tree-shaking

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

Before After Diff
WebGL 490.85
119.65
490.85
119.65
+0 B
-1 B
WebGPU 694.92
188.22
694.86
188.15
-59 B
-71 B
WebGPU Nodes 644.12
175.61
644.06
175.54
-59 B
-63 B

@Mugen87 Mugen87 merged commit 53ae84b into mrdoob:dev Feb 9, 2026
20 of 22 checks passed
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