This release migrates the entire rendering stack to Three.js (WebGL) and applies significant GPU shader optimisations to the cloud, fog and smog effects.
- Clouds – FBM octaves reduced from 6 → 4; domain-warp chain simplified from 5 FBM calls to 3 (~2.5× GPU speedup, ~30 → 12 noise samples per fragment)
- Fog – FBM octaves reduced from 5 → 3
- Smog overlay – FBM octaves reduced from 4 → 3
- Duplicate glow removed –
createStarsEffectpreviously rendered two overlapping glow meshes for the moon; the redundant full-screen edge-glow plane is removed - Distance-based angular size – when
moon_distance_entityis configured the moon disc scales proportionally to384 400 km / actual distance(clamped ±20%), making it visibly larger at perigee and smaller at apogee
getMoonPosition()now readsmoon_distance_entityand returnsdistanceKminit()refactored – removed ~65 lines of duplicatedupdateWeather()logic- Dead config option
stars_require_moonremoved
- Update via HACS (or re-download
fork_u-weather_aware.js) - Restart Home Assistant or hard-refresh (Ctrl+F5)
- Optionally add
moon_distance_entityin the editor for dynamic moon sizing