Renderer: Rename shadowMap.colored -> shadowMap.transmitted#32611
Merged
Conversation
📦 Bundle sizeFull ESM build, minified and gzipped.
🌳 Bundle size after tree-shakingMinimal build including a renderer, camera, empty scene, and dependencies.
|
Collaborator
|
Regarding the discussion in https://github.com/mrdoob/three.js/pull/32608/files#r2641143718, I'm okay with whatever you and @WestLangley think is best^^. |
Collaborator
@Mugen87 This property, including its name, precisely what it is for, and when it must be set to true, is still a mystery to me. For now, I am going to assume it is a work-in-progress. |
This was referenced Dec 29, 2025
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: https://github.com/mrdoob/three.js/pull/32608/changes#r2641749091
Description
The term
transmittedshould imply that the shadow should somehow consider the transmission of light in non-opaque materials. It follows the physical principle more than the subjective like the previous one.This should prepare three.js when we implement this in native materials; currently, the process is done manually through
material.castShadowNode, and since this feature requires an extra texture per shadow, for optimization it comes disabled.