GL Surfaces playground

Give the map's water, glaciers, forests, fields, sand, mud, paving and roads living textures, and tune their look live

View on GitHub
Landmarks 3D plugin 0.3.1Map effects plugin 0.4.2Public previewSDK 1.0.0-rc.7

Lake Geneva ripples and mirrors the sky, and the land around it takes on grass, crowns, fields and asphalt in the style’s own colours.

  • new GLSurfaces(map) textures the style’s land cover, built-up ground, water and roads, under its labels and buildings.
  • glSurfacesKnobCatalogue builds the controls, seasons included; every season shades the map’s foundation colours.
  • effectKnobCatalogue adds the map-effects plugin’s bloom, fog or depth of field over the textured map, one section per effect.
  • view.light sets one light for the whole map, which the textures and the 3D buildings share.

Related examples