mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-17 00:32:21 +00:00
GPU icons draw offsets, anchors, rotations, fades, display ranges and clamped heights
Each row reads its extras from a float texture by instance (texelFetch on gl_InstanceID), so the 16 vertex attributes hold: pixel offset, vertical anchor, screen rotation and aligned axis (turned as billboards turn), fadeByDistance, displayRange, and a ground mode with the heights under its segment's two ends. Clamped rows are sampled after a frame draws, budgeted across the port's sets (terrain first, then the drawn surface), and again when the globe's tiles finish loading. WebGL 1 still refuses these; GPU sets still refuse clustering. The stub picks icons offset, anchored, turned and clamped to its ellipsoid, and draw.motion.look checks each on a moving icon.
This commit is contained in:
1 parent
759308404e
commit
933969b7da
9 files changed
+892
-29
No files matched your search
@@ -66,6 +66,7 @@ export const CESIUM_CHECKS = new Set([
|
||||
'draw.motion.arc',
|
||||
'draw.motion.climb',
|
||||
'draw.motion.live',
|
||||
'draw.motion.look',
|
||||
'draw.motion.shared',
|
||||
'draw.pick',
|
||||
'draw.points.update',
|
||||
|
||||
Reference in new issue
Block a user