Skip to content

Conversation

@Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented Jan 14, 2026

Fixed #31661.

Description

Follow-up of #32749. This PR fixes the remaining shadow issues with reversed depth buffer.

@Mugen87 Mugen87 added this to the r183 milestone Jan 14, 2026
@github-actions
Copy link

github-actions bot commented Jan 14, 2026

📦 Bundle size

Full ESM build, minified and gzipped.

Before After Diff
WebGL 355.57
84.48
355.34
84.48
-234 B
-3 B
WebGPU 621.09
172.46
621.09
172.46
+0 B
+0 B
WebGPU Nodes 619.7
172.22
619.7
172.22
+0 B
+0 B

🌳 Bundle size after tree-shaking

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

Before After Diff
WebGL 487.81
119.38
487.57
119.37
-234 B
-5 B
WebGPU 692.03
187.85
692.03
187.85
+0 B
+0 B
WebGPU Nodes 641.83
175.02
641.83
175.02
+0 B
+0 B

@Mugen87 Mugen87 changed the title WebGLRenderer: Fix VSM and Basic shadows with reversed depth. WebGLRenderer: Fix remaining shadow issues with reversed depth. Jan 14, 2026
@Mugen87 Mugen87 merged commit 3fbfa2c into mrdoob:dev Jan 14, 2026
10 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.

ShadowMap breaks when using reversedDepthBuffer

1 participant