closest terrain tile detail level seems incorrect when camera pitch is too high #4703
Labels
bug
Something isn't working
enhancement
New feature or request
PR is more than welcomed
Extra attention is needed
terrain
-->
maplibre-gl-js version: 4.5.2 and also in the maplibre 3d terrain example
browser: chrome
Steps to Trigger Behavior
Link to Demonstration
Reproducable in the 3d terrain example: https://maplibre.org/maplibre-gl-js/docs/examples/3d-terrain/
Expected Behavior
The closer you get, the higher the detail of the tile
Actual Behavior
While moving slowly over the peak of a mountain with an inclined camera, the closer you get, the higher gets the resolution of the tile.
When reaching the peak, a tile with a lower resolution is loaded though, instead of the highest resolution.
It seems that since the tile is 'under' the camera and not in camera direction, it is not recognized as being close.
This is also reproducable in regions without mountains, but the effect gets more obvious here.
maplibrebug.mp4
The text was updated successfully, but these errors were encountered: