clouds: lower deck and fade near-camera cloud clipping

This commit is contained in:
Richard Zink committed 2026-10-13 08:47:56 +02:00
1 parent 6f19b34900
commit 33d89683ef
2 files changed
+17 -2

No files matched your search

+6 -1
View File
@@ -321,8 +321,12 @@ window.CONFIG = {
// altitude so aircraft fly above the deck.
clouds: {
enabled: true, // false removes the volumetric cloud deck
top: 1.0, // ~12.9 km
top: 0.78, // ~10.1 km, lower deck keeps camera clearance
bottom: -0.2, // ~-2.6 km (deck base slightly below terrain)
nearFade: {
start: 0.35, // world units: clouds fade out very close to camera
end: 2.5 // full density from this distance onward
},
// Coverage per weather level, 0 = clear, 1 = overcast. Only the
// levels listed here override the built-in defaults
// (sunny 0.20, cloudy 0.70, stormy 0.80, night 0.45). Live weather
@@ -344,6 +348,7 @@ window.CONFIG = {
// wind: { speedScale: 140, maxSpeed: 0.12 } // very visible motion
}
// density: { sunny: 0.05, cloudy: 0.9, rain: 0.95, snow: 0.85, stormy: 1.0 }
// top: 0.65, nearFade: { start: 0.5, end: 3.5 }
},
// ------------------------------------------------------------------