-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CARTO: HeatmapTileLayer full colorRange #9068
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very cool!
Since the very beginning of deck.gl I always wanted to create some reusable code for managing colormaps in textures that could be used across all layers.
Not quite sure if a shader module or an extension.
Since you have a working implementation here, you might see opportunities in this regard. Even starting with a partial breakdown (perhaps a shader module local to the layer) could reduce the effort to take the next step.
Yes, that would indeed be nice and I think it would be possible via a |
Followup to #8703
Background
Previous version only supported 6 colors in color map via explicit unifroms. With this change a
colorTexture
is used instead, like in theHeatmapLayer
to provide an unlimited number of colorsChange List
colorTexture
from passedcolorRange
in LayercolorRange
withcolorTexture
in shader module