Repository navigation
[9.4-release] fix(core, layers): hide icons, text and billboard points behind the globe (#10750) - #11014
Merged
Conversation
[Medium impact] The PR appears safe to merge, with no outstanding findings. SummaryThis PR backports globe visibility fixes for icons, text, and billboard points.
|
chrisgervang
force-pushed
the
chr/backport-10750-9.4
branch
from
November 3, 2026 04:16
3e896b9 to
b1fe83f
Compare
Collaborator
Author
|
@greptileai review |
29 of 30 tasks
This was referenced Nov 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow up of #10750, for #10972
Background
Backports #10750 to
9.4-release. Fixes #9554: icons, text and billboard points behind the globe are now hidden.Change List
-xproject_globe_is_occludedandproject_globe_billboard_clipspace(GLSL and WGSL) check onlyPROJECTION_MODE_GLOBE. Onmasterthey also checkPROJECTION_MODE_GLOBE_METER_OFFSETS, which comes from feat(core): layer coordinateSystem supports arbitrary CRS #10874 (arbitrary CRS) and is not in 9.4. Without this change, the shaders fail to compile.whats-new.mdentry. Merge that one first.Verified on the full 9.4.2 stack (all 13 backports):
yarn lintand node tests pass. Local headless and render runs were flaky, and nothing failed that does not also fail on9.4-releaseor pass when run alone, so CI here is the real check.Note
Low Risk
Changes are scoped to GlobeView billboard rendering and quad vertex winding, leaving flat projection modes unaffected.
Overview
Adds horizon occlusion testing and billboard depth offsetting for
GlobeViewin theprojectshader module (GLSL and WGSL). Billboards inIconLayer,TextLayer, andScatterplotLayernow discard objects anchored on the far side of the globe viaproject_globe_is_occluded, whileproject_globe_billboard_clipspaceadjusts depth toward the camera so the curvature of the earth does not clip visible sprites.Updates triangle strip vertex order in
IconLayerandTextBackgroundLayerto keep quad primitives front-facing under back-face culling after Y-flipping. Also adds API documentation, release notes, and automated render tests covering billboard occlusion on the globe.Reviewed by Cursor Bugbot for commit b1fe83f. Bugbot is set up for automated code reviews on this repo. Configure here.