visgl / visgl/deck.gl

[Bug] heatmapLayer and lineLayer not working with shadows turned on

Open
#9,658 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.