Skip to content

Commit

Permalink
Add render test for fog with terrain and zero exaggeration
Browse files Browse the repository at this point in the history
  • Loading branch information
endanke committed Nov 29, 2022
1 parent 6ca9427 commit f069e43
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
{
"version": 8,
"metadata": {
"test": {
"height": 256,
"width": 256
}
},
"center": [-113.32296, 35.94662],
"zoom": 5.5,
"pitch": 80.0,
"bearing": 64.5,
"terrain": {
"source": "rgbterrain",
"exaggeration": 0.0
},
"fog": {
"range": [-0.2, 0.5],
"color": "white",
"horizon-blend": 0.15
},
"sources": {
"rgbterrain": {
"type": "raster-dem",
"tiles": [
"local://tiles/{z}-{x}-{y}.terrain.png"
],
"maxzoom": 12,
"tileSize": 256
},
"satellite": {
"type": "raster",
"tiles": [
"local://tiles/{z}-{x}-{y}.satellite.png"
],
"maxzoom": 17,
"tileSize": 256
}
},
"layers": [
{
"id": "sky",
"type": "sky",
"paint": {
"sky-type": "atmosphere",
"sky-atmosphere-sun": [0, 0],
"sky-atmosphere-sun-intensity": 15
}
},
{
"id": "raster",
"type": "raster",
"source": "satellite",
"paint": {
"raster-fade-duration": 0
}
}
]
}

0 comments on commit f069e43

Please sign in to comment.