2.9.5
Fix day cycle
This commit is contained in:
@@ -616,7 +616,7 @@ export function ScopeReticle({ value, cat, loading, elev = 0, dt = new Date(), g
|
||||
c = blendHex(c, greyTarget, tintAmt * 0.3); // weather grey
|
||||
return c;
|
||||
}
|
||||
const snowTone = blendHex(skyBotTint, '#ffffff', 0.6); // snow caps (dim at night)
|
||||
const snowTone = blendHex(skyBotTint, '#ffffff', isDay ? 0.6 : isTwil ? 0.38 : 0.20);
|
||||
// Readout scrim colour: light by day (dark text), dark by night (light text).
|
||||
const scrimColor = isDay ? '#f1e8d0' : '#0b0916';
|
||||
|
||||
@@ -693,7 +693,7 @@ export function ScopeReticle({ value, cat, loading, elev = 0, dt = new Date(), g
|
||||
// Alpine: a distant range of irregular, jagged peaks (not pyramids) —
|
||||
// off-centre summits with sub-shoulders, hazier the further back.
|
||||
if (spec.obj.mountains) {
|
||||
const capTone = blendHex(skyBotTint, '#ffffff', 0.72); // snow, cycle-lit
|
||||
const capTone = blendHex(skyBotTint, '#ffffff', isDay ? 0.72 : isTwil ? 0.46 : 0.24);
|
||||
const mtn = (x, w, h, seed, d) => {
|
||||
const r = seededRng(seed);
|
||||
const tone = objTone('#6a6258', d); // rocky; far = hazier
|
||||
|
||||
Reference in New Issue
Block a user