You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seems that while #22410 added support for alpha clipping in shadow maps, it did so only when alphaMap is used, not then the alpha channel of map is used for transparency.
This results in, for example, all glTF files loaded at runtime (e.g. with GLTFLoader) not supporting alpha clipping in shadows.
I've seen a few mentions of using customDepthMaterial to work around this issue, but in fact this part of the docs was removed when #22410 was merged. Thus I think the missing case for map + clipping may be an oversight / bug here.
Describe the bug
Seems that while #22410 added support for alpha clipping in shadow maps, it did so only when
alphaMap
is used, not then the alpha channel ofmap
is used for transparency.This results in, for example, all glTF files loaded at runtime (e.g. with GLTFLoader) not supporting alpha clipping in shadows.
I've seen a few mentions of using
customDepthMaterial
to work around this issue, but in fact this part of the docs was removed when #22410 was merged. Thus I think the missing case for map + clipping may be an oversight / bug here.To Reproduce
Steps to reproduce the behavior:
Expected behavior
Alpha clipping in the shadows.
Screenshots
The text was updated successfully, but these errors were encountered: