mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 08:12:24 +00:00
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:
1 parent
cdd855b7ec
commit
d3cc95e9a6
6 files changed
+129
-25
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user