fix(transit): a selected vehicle's trail head is one outlined line again, its centre no darker than before

The seam drew the head as two stacked translucent lanes (a 5 px dark
backing under a 3 px colour line), which darkened its centre by up to 40
of 255 over light ground. It is now one 5 px line with a 2 px dark
outline in the same pass, as the head's own material drew it before.

Conformance gains draw.lines.outlineDraped: a draped, translucent,
revealed outlined line, its centre as bright as a plain line of the
colour, its edges dark, nothing past the reveal.
This commit is contained in:
Sameh Khamis committed 2026-11-14 12:35:24 -08:00
1 parent cdd855b7ec
commit d3cc95e9a6
6 files changed
+129 -25

No files matched your search

+1 -1
View File
@@ -6484,7 +6484,7 @@ test('a transit trail moves its head, across subdivisions too, and fades its bod
const lanes = Array.from({ length: head.length }, (_, i) =>
head.get(i),
).filter((part) => part instanceof Cesium.GroundPolylinePrimitive);
assert.equal(lanes.length, 2, 'a backing lane and a line lane');
assert.equal(lanes.length, 1, 'one line, its dark edge in the same pass');
const added = scene.added.length;
// A second and a half of frames within the subdivision.
for (let t = 12016; t < 13500; t += 16)
+1
View File
@@ -70,6 +70,7 @@ export const CESIUM_CHECKS = new Set([
'draw.lines.outline',
'draw.lines.drape',
'draw.lines.split',
'draw.lines.outlineDraped',
'draw.lines.segments',
'draw.lines.segmentStyles',
'draw.sets.blend',