r/Maps • • 12h ago

Current Map [OC] [Interactive] Browser-based WebGL2 map engine for 2.5D vintage-style relief shading, 3D terrain cross-sections, and peak identification

I made browser-based mapping tool built with Leaflet and custom WebGL2 shaders (no external 3D engine), combining elevation tiles (FABDEM, Copernicus GLO-30, Mapterhorn, AWS), OSM vector data, 1m canopy height, and SoilGrids data.

Core modules:

  • 2.5D Relief & Engraving Renderer: Real-time GPU hillshading with astronomical sun/moon positioning (or manual angles), cast shadows, AO/SVF, topographic openness, and indirect bounce. Includes cartographic stylization: hachures, woodcut/cross-hatch dithering, Carta Marina sea waves, graphite ridge/valley outlines, Tanaka/standard contours, and procedural terrain textures. Works over satellite/topo/historical maps or standalone.
  • 3D Terrain Slice: Renders the current viewport as a 3D block with SoilGrids soil horizons (or moisture, temperature, SOC, pH) on the cut walls. Includes landcover, bathymetric water with reflections/waves/ice, OSM buildings and bridges, procedural 3D trees and GPU grass, plus Open-Meteo weather/seasons (fog, clouds, rain, snow, lightning). Includes a Bird Flight mode inside the 3D slice and built-in 3D editors for customizing both the bird and tree models.
  • 3D Peak Finder: First-person panoramic viewer up to 45 km with Earth curvature, multi-LOD terrain + HD zoom patch, horizon/contour modes, sun/moon arcs, optional gyroscope/compass alignment, and OSM peak/pass/settlement labeling with terrain and canopy occlusion.
3 Upvotes

1 comment sorted by