config: allow clouds in front of terrain

This commit is contained in:
Richard Zink committed 2026-10-13 14:28:39 +02:00
1 parent 0ddaa80643
commit 1e582c1f7f
2 files changed
+7 -1

No files matched your search

+5
View File
@@ -339,6 +339,11 @@ window.CONFIG = {
// ready. This avoids clouds appearing over an unfinished ground model.
waitForTerrain: true, // false = draw clouds immediately
// waitForTerrain: false
// Terrain occlusion for clouds. false draws clouds in front of the
// terrain mesh even when terrain is closer; true clips cloud rays
// against the terrain distance buffer.
terrainOcclusion: false, // inverted occlusion: clouds stay in front
// terrainOcclusion: true
// 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