[Bug] heatmapLayer and lineLayer not working with shadows turned on
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 14.6k
- Forks
- 2.3k
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 42
Description
Description
After moving to deck.gl v9 I found out that heatmapLayer stopped working. If I use _shadow: true in directionalLight heatmap is not displayed.
Also found that lineLayer is not displayed in both v8 and v9 of deck.gl (while its shadow remains visible).
And one more question - can I make shadows less "tooth-like"?
Flavors
- Script tag
- React
- Python/Jupyter notebook
- MapboxOverlay
- GoogleMapsOverlay
- CARTO
- ArcGIS
Expected Behavior
Visible heatmap in v9.1
Steps to Reproduce
Codepen with deck.gl 8.9: https://codepen.io/yskiugsp-the-looper/pen/KwpyVro
Codepen with deck.gl 9.1: https://codepen.io/yskiugsp-the-looper/pen/azOVdKM
Environment
- Framework version: 9.1
- Browser: Google Chrome v137
- OS: Win10 x64
Logs
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked CodePens for deck.gl 8.9 and 9.1 and reproduce the behavior with directionalLight set to _shadow: true. Compare heatmapLayer and lineLayer rendering with shadows enabled; done means the heatmap is visible in v9.1, the line layer is visible in both versions, and the shadow edges are addressed or explained.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- data-visualization, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100