Replies: 1 comment 4 replies
-
The reverse controlled pattern renders deck.gl canvas over the Mapbox canvas. They do not share the same depth context. The only pattern that supports depth blending/3D occlusion is MapboxOverlay with interleaved: true. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
long story short,
if we are using the reversed control to render 3D map and have deck.gl paths and icons over it. (assume we want deck.gl to be the parent component):
and
children
are deck.gl's PathLayer, IconLayer, Polygon and etc... as react components.the problem is providing
depthTest
to deck.gl doesn't affect how paths and icons appear over the 3D map rendered by mapbox, paths are still visible behind the mountains. or if a path or polygon are partially under the ground, they are still visible.how can we have the
depthTest
enabled, when map is rendered by the mapbox and deck.gl is the parent component?Beta Was this translation helpful? Give feedback.
All reactions