Skip to content

Commit 458ff97

Browse files
chrisgervangclaude
andcommitted
revert(layers): remove globe occlusion from ArcLayer
ArcLayer occlusion will be addressed separately. The depth buffer handles most cases for arc geometry, and the segment boundary artifacts need more investigation. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 763eb7c commit 458ff97

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

modules/layers/src/arc-layer/arc-layer-vertex.glsl.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -224,12 +224,6 @@ void main(void) {
224224
arc.widthMinPixels, arc.widthMaxPixels
225225
);
226226
227-
// Hide arc segments that are occluded by the globe (on the back side)
228-
// Set width to 0 instead of clipping to avoid artifacts at segment boundaries
229-
if (project_globe_is_occluded(geometry.position.xyz)) {
230-
widthPixels = 0.0;
231-
}
232-
233227
// extrude
234228
vec3 offset = vec3(
235229
getExtrusionOffset((next.xy - curr.xy) * indexDir, segmentSide, widthPixels),

0 commit comments

Comments
 (0)