Skip to content

WebGPURenderer: Add basic reversed depth buffer support.#32967

Draft
Mugen87 wants to merge 3 commits intomrdoob:devfrom
Mugen87:dev2
Draft

WebGPURenderer: Add basic reversed depth buffer support.#32967
Mugen87 wants to merge 3 commits intomrdoob:devfrom
Mugen87:dev2

Conversation

@Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented Feb 6, 2026

Related issue: -

Description

The PR adds initial reversed depth buffer support to WebGPURenderer. Basic rendering and shadow maps are supported.

I'll leave the post processing for another PR.

@Mugen87 Mugen87 added this to the r184 milestone Feb 6, 2026
@github-actions
Copy link

github-actions bot commented Feb 6, 2026

📦 Bundle size

Full ESM build, minified and gzipped.

Before After Diff
WebGL 359.19
85.29
359.19
85.29
+0 B
+0 B
WebGPU 619.36
172.53
620.87
173.03
+1.51 kB
+502 B
WebGPU Nodes 617.94
172.28
619.45
172.78
+1.51 kB
+500 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
+0 B
WebGPU 692.96
187.55
694.5
188.05
+1.54 kB
+497 B
WebGPU Nodes 642.17
174.93
643.71
175.44
+1.54 kB
+511 B

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