Shadowing of partially transparent textures does not work correctly for alphaMode: MASK
- Dominant language
- JavaScript
- Stars
- 15.7k
- Forks
- 3.9k
- Avg merge
- 4d 6h
- Merged PRs (30d)
- 34
Description
When using gltf/glb models with partially transparent textures shadowing works when using a material with alphaMode: BLEND, but not when using alphaMode: MASK
The following example is from an x-board model of a tree when using MASK:

The same model with alphaMode BLEND:

Contributor guide
Research direction
Start by reproducing the reported x-board tree case and inspect Cesium's glTF shadow-rendering path for alphaMode MASK, comparing it with the working BLEND behavior. The issue names no files or tests, so trace the rendering entry points first; done means partially transparent masked textures cast shadows correctly rather than showing the reported failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- computer-graphics
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100