mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-18 01:02:23 +00:00
docs(render): translucent icon sets blend as Cesium's translucent billboards, order-independently where the scene is; a test for a host that draws its blend itself
This commit is contained in:
1 parent
06516819da
commit
01788c1b10
5 files changed
+38
-11
No files matched your search
@@ -145,8 +145,8 @@ export function createRendering({
|
||||
if (!viewer || state.icons) return;
|
||||
const set = drawOf(viewer).icons({
|
||||
id: `ais-vessels:${++instances}`,
|
||||
// Blended in one pass, in order, each chevron keeping its outline
|
||||
// over the ones under it.
|
||||
// Translucent, as its billboards were: overlapping chevrons keep
|
||||
// their outlines rather than the first one's fill.
|
||||
blend: 'translucent',
|
||||
horizonCull: true,
|
||||
drawOrder: spriteDrawOrder?.('ais') ?? 0,
|
||||
|
||||
Reference in new issue
Block a user