WebGPURenderer: Fix shadow comparison on Adreno GPUs#32548
Merged
sunag merged 9 commits intomrdoob:devfrom Dec 14, 2025
Merged
Conversation
This reverts commit ba46a28.
📦 Bundle sizeFull ESM build, minified and gzipped.
🌳 Bundle size after tree-shakingMinimal build including a renderer, camera, empty scene, and dependencies.
|
Owner
|
/fyi @greggman @kenrussell |
Contributor
|
never mind I think. The link in the first comment covers it |
This was referenced Dec 29, 2025
This was referenced Feb 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related issue: #32547
Description
The PR improves support for
TextureNode.compare()by adding a fallback that will usestep()if the hardware has compatibility issues. Currently, compatibility is checked by verifying if the device is Android; if so, the fallback will be used.Renderer.hasCompatibility()andTHREE.Compatibility.TEXTURE_COMPARECubeDepthTexture, this will be necessary for the inspector's shadow update too.