Do BitmapLayers lose their transparency when using DeckLayer and ArcGIS? #7885
Unanswered
corporealshift
asked this question in
Q&A
Replies: 2 comments 2 replies
-
I believe ArcGIS creates a WebGL context with precomposed alpha, it is just a hunch that this is related - perhaps our shader doesn't detect a zero alpha channel so it can't discard the transparent pixel and the z buffer gets touched. Unfortunately, the deck.gl team doesn't have much experience with precomposed alpha. |
Beta Was this translation helpful? Give feedback.
2 replies
-
I'm encountering a similar issue where all my layers within the DeckLayer seem to be rendered at the exact same z-index and transparent features do not show any features below them |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
hey all, i'm trying to use deck.gl with arcGIS (which is working fine) but i'm running into an issue with tile layers where the rendered bitmaps are not actually being transparent? When I add two tile layers (one just renders a circle) I can not see through the circle layer to the one below it. If I inverse the order I see the other layer and do not see the circle layer. I know that the circle layer has transparency (if I use the same layer with google maps it works as I would expect). Can anyone give me some direction on where to look, or what options I may need to change? I've found a few github threads but nothing that has yielded much results. Here is my tile layer definition which is used for both layers:
and I'm using the DeckLayer object from the @deck.gl/arcgis library:
Is there something I'm missing? If I just use the tile layers in deck.gl directly (without arcgis) then everything works as I would expect.
Beta Was this translation helpful? Give feedback.
All reactions