Replies: 3 comments 1 reply
-
In theory, you have the webgl context, you should be able to query it for what you need, don't you? |
Beta Was this translation helpful? Give feedback.
-
You could try using the internal function |
Beta Was this translation helpful? Give feedback.
-
It might be related to this. here is the current code: https://jsbin.com/tarevad/edit?html,output I tried to get some inspiration from here : https://maplibre.org/maplibre-gl-js/docs/examples/globe-custom-tiles/ Anyways, I missing something and any help would be welcome :) I'm not a fluent in shader or math ^^ |
Beta Was this translation helpful? Give feedback.
-
Tile textures are not accessible from the custom layer, so activating a terrain with the function '.setTerrain()' on the map prevents the custom layer from interacting with the terrain correctly.
To fix this issue, you must be able to obtain the terrain texture from the custom layer and modify the texture of the tile before the terrain is rendered.
I was wondering if there is a way to get the tile texture correctly.
There was a similar discussion here, but I'm adding it because it doesn't match what I'm trying to find out. #2245
Beta Was this translation helpful? Give feedback.
All reactions