weather: add wet road glow and light halos

This commit is contained in:
Richard Zink committed 2026-10-12 23:06:53 +02:00
1 parent fb113e2e2d
commit 92dd812072
2 files changed
+52 -5

No files matched your search

+8
View File
@@ -143,10 +143,18 @@ window.CONFIG = {
minDelayS: 8, // minimum delay between storm flashes
maxDelayS: 45, // maximum delay between storm flashes
doubleFlash: true // some flashes flicker twice
},
wetRoads: {
enabled: true,
dryMinutes: 30, // roads dry out after this many dry minutes
roadGain: 0.8, // extra road-ribbon glow when wet
lightGain: 0.35 // extra halo on vehicle lights when wet
}
// weatherEffects: { enabled: false }
// weatherEffects: { rain: { maxAlpha: 0.55, speed: 1.4 }, snow: { enabled: false } }
// weatherEffects: { lightning: { gain: 2.0, minDelayS: 3, maxDelayS: 12 } }
// weatherEffects: { wetRoads: { enabled: false } }
// weatherEffects: { wetRoads: { dryMinutes: 10, roadGain: 1.4, lightGain: 0.7 } }
},
// ------------------------------------------------------------------