mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-17 00:32:21 +00:00
feat(render): a renderer can draw weather: the weather capability adds globe.weather (clouds, fog, haze, rain and snow, 0 to 1, and the wind they drift on); the view shows the conditions observed under the camera, and the Display panel's Weather group sets them by hand
This commit is contained in:
1 parent
639e92b4f7
commit
0b1dc325bc
29 files changed
+869
-27
No files matched your search
@@ -19,6 +19,7 @@ export const CAPABILITIES = Object.freeze([
|
||||
'finestHeights',
|
||||
'terrain',
|
||||
'modelAtmosphere',
|
||||
'weather',
|
||||
'imageryOnTiles',
|
||||
'splitSwipe',
|
||||
'imageryFrames',
|
||||
@@ -147,6 +148,9 @@ export const PORTS = deepFreeze({
|
||||
['setSurfaceShading', 'surfaceShading'],
|
||||
['imagery.getSplit', 'splitSwipe'],
|
||||
['imagery.setSplit', 'splitSwipe'],
|
||||
['weather', 'weather'],
|
||||
['weather.get', 'weather'],
|
||||
['weather.set', 'weather'],
|
||||
]),
|
||||
draw: Object.fromEntries([
|
||||
...required(
|
||||
@@ -353,6 +357,7 @@ export const ROLES = deepFreeze([
|
||||
members: [
|
||||
'effects',
|
||||
'globe.sky',
|
||||
'globe.weather',
|
||||
'globe.setSurfaceShading',
|
||||
'imageryLayer.lit',
|
||||
],
|
||||
|
||||
Reference in new issue
Block a user