Update weather system to improve accuracy and detail; increase weather grid size to 12x12 for finer resolution, enhance weather layer rendering to accurately reflect localized conditions, and implement new sampling methods for precipitation and cloud cover. Refactor related components for better performance and clarity in weather data handling.

This commit is contained in:
Leonid Pershin
2026-08-17 10:26:01 +03:00
parent cb5117edba
commit c80c9f14e2
11 changed files with 387 additions and 104 deletions
@@ -307,8 +307,11 @@ public sealed class WorldSimulation : IDisposable
}
}
/// <summary>Nodes per side of the weather grid served to the renderer.</summary>
public const int WeatherGridSize = 8;
/// <summary>
/// Nodes per side of the weather grid served to the renderer. Fine enough to carry the shape of the
/// smallest pressure system without aliasing, and still only a couple of hundred numbers on the wire.
/// </summary>
public const int WeatherGridSize = 12;
/// <summary>Weather at the middle of the map - what the HUD and the world list show.</summary>
public WeatherDto SnapshotWeather()