Commit Graph
15 Commits
Author SHA1 Message Date
Richard Zink 6eb25bdd03 physical lighting, volumetric clouds, terrain shadows, pixel-art render scale
- atmosphere: physical terrain lighting (air mass, Rayleigh beam colour,
  skylight, moon, starlight floor), aerial perspective for terrain and
  cloud deck, configurable haze/albedo/ambient gains
- clouds: march the deck in height instead of ray distance, IGN dither
  (no per-frame flicker), per-step height jitter, 4-octave fbm renormalised,
  softer density threshold, distance softening as a procedural mip,
  grazing path clamp, cloud shadows on the ground (cloudShadowDensity/
  Floor/Ambient) and cloud haze factor
- terrain: self-shadows from the elevation field (penumbra + shadow floor),
  soft mosaic rim (edgeFadeTiles), east/west axis corrected (+X = west)
- lights: per-object twilight switching for cars, city dots and ground blocks
- flights: contrail width 620 m, fade to zero by contrailFadeKm, aircraft
  size decoupled from trail width, count halved
- render: CONFIG.renderScale with integer upscale + image-rendering: pixelated
- data: nginx overpass proxy + cache, per-mirror cooldown ladder, ring-based
  cell ordering (disc fills evenly), settlements fetched before roads,
  interim chain persistence, two worker lanes (car/city) with progress logs
- removed: NASA VIIRS night-lights layer (fetch, canvas, texture, uniforms)
2026-10-11 15:04:21 +02:00
Richard Zink fbac24773a clouds3d-only cleanup: drop Vanta/three.js/clouds2d, real-sky fixes, settlement lights, dynamic location anchor 2026-10-09 14:13:03 +02:00
Richard Zink 6323beccf9 Add satellite ground texture (ESRI World Imagery, Passau)
Pulled a 5x4 tile mosaic of the Passau region (zoom 10) from
ESRI's free ArcGIS World Imagery service, stitched + resized to
1024x768 JPEG (277 KB). Added to Dockerfile as ground.jpg.

Shader side:
- New uniform uGround (texture unit 1)
- horizonMask: rd.y in [-0.20, -0.02] -> ground fades in from 0
  to 1 as we look further down
- gUv derived from rd.xz so looking forward/down scrolls across
  the satellite image (parallax-like feel)
- Distant ground fades toward uBg via a 'fog' factor so the horizon
  blends naturally with the sky gradient

Loading is async — clouds render before ground texture arrives.
Falls back to a black sample if ground.jpg fails to load.
2026-10-07 20:15:53 +02:00
Richard Zink 965b813f5e Rename index.html to background.html; configure nginx to serve it as index 2026-10-07 14:59:09 +02:00
Richard Zink 7109e1b5a0 Vendor Vanta.js, three.js, suncalc locally for offline operation 2026-10-07 14:01:32 +02:00
Richard Zink d546124359 Add i18n dictionary and dynamic UI translations 2026-10-07 12:51:02 +02:00
Richard Zink 591f5b2f24 Add nord theme with license header, update all theme files with license 2026-10-07 12:35:06 +02:00
Richard Zink f0f0fa18f6 Add config.js, gruvbox.css, debug panel dropdowns 2026-10-07 12:22:25 +02:00
Richard Zink 0557db1cba Extract all colors to external ash.css using Ash palette variables 2026-10-07 11:47:00 +02:00
Richard Zink 0b4f3d2348 Add noise.png texture for clouds2 effect 2026-10-07 07:14:50 +02:00
Richard Zink 3ec653342e Fix dockerfile to use custom default.conf 2026-10-07 06:50:19 +02:00
Richard Zink 51352af2ea Replace with Vanta clouds animation 2026-10-07 06:48:50 +02:00
Richard Zink edb5e333ab Empty repo 2026-10-07 06:48:20 +02:00
Richard Zink 951b2cc483 Update: full-screen animation, centered airplane, procedural landscape with water 2026-10-06 15:07:27 +02:00
Richard Zink 5c52fb48f6 Add Docker setup for development 2026-10-06 14:58:22 +02:00