Replies: 1 comment 3 replies
-
Which version are you using? There was a change recently to help globe with custom layer by creating some depth buffer...? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am rendering a 3d-layer on top of my map. Unfortunately at some point i have to clear the depth stencil. And this leads to an issue if i want to render maplibre layers on top of my 3d-layer. Precisely it is the seams that become visible between tiles. Since the terrain depth is missing, maplibre will render new layers with these seams.
Now I am wondering if it would be possible to either transfer the depth stencil from the layer before the 3d-renderer to the one after. Or probably much simpler: create a depth map by recreating a simple terrain layer. I tried to do the latter by just adding a background layer. It works if the background layer is opaque, but does not work if it is transparent.
Someone has an idea?
Here we see the seam and also if i make the background layer transparent to 0.5. So it is also affected by missing depth.

Beta Was this translation helpful? Give feedback.
All reactions