diff --git a/Environment/environment.xml b/Environment/environment.xml index 248650d04..0d990dc8e 100644 --- a/Environment/environment.xml +++ b/Environment/environment.xml @@ -441,6 +441,7 @@ + 0.0 0.0 0.4 0.4 diff --git a/Environment/local-weather-rules.xml b/Environment/local-weather-rules.xml index 006250aed..b17762539 100644 --- a/Environment/local-weather-rules.xml +++ b/Environment/local-weather-rules.xml @@ -846,4 +846,77 @@ 1.0 + + EnvironmentInterpolator:Aurora:LatitudeDep + gain + 1.0 + + + +
+ + /position/latitude-deg + + 90 +
+ 2.0 +
+
+ + /environment/aurora/latitude-scale +
+ + + EnvironmentInterpolator:Aurora:VerticalSize + gain + 1.0 + + + + + /environment/aurora/latitude-scale + 2.0 + + 0.1 + + + + /environment/aurora/vsize + + + + EnvironmentInterpolator:Aurora:HorizontalSize + gain + 1.0 + + + + /environment/aurora/latitude-scale + 0.1 + + + + /environment/aurora/hsize + + + + EnvironmentInterpolator:Aurora:Strength + gain + 1.0 + + + + + /environment/aurora/latitude-scale + 0.5 + + /environment/aurora/set-strength + + + + /environment/aurora/strength + + + + diff --git a/Shaders/skydome-ALS.frag b/Shaders/skydome-ALS.frag index b3c574772..eb38b09ef 100644 --- a/Shaders/skydome-ALS.frag +++ b/Shaders/skydome-ALS.frag @@ -126,7 +126,7 @@ void main() // Aurora Borealis / Australis - vec3 direction = vec3 (-1.0, 0.0, 0.0); + vec3 direction = vec3 (1.0, 0.0, 0.0); float hArg = dot(nView, direction); diff --git a/gui/dialogs/environment-settings.xml b/gui/dialogs/environment-settings.xml index 55a320280..a7eebbba1 100644 --- a/gui/dialogs/environment-settings.xml +++ b/gui/dialogs/environment-settings.xml @@ -489,6 +489,53 @@ 3 + + + /sim/rendering/shaders/skydome + + + left + 10 + 0 + + + + + /sim/rendering/shaders/skydome + + + right + 10 + 1 + + + + + /sim/rendering/shaders/skydome + + aurora + 10 + 2 + 0.0 + 1.0 + true + /environment/aurora/set-strength + + dialog-apply + aurora + + + + + + /sim/rendering/shaders/skydome + + + left + 10 + 3 + +