summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings
diff options
context:
space:
mode:
authorGraham Linden graham@lindenlab.com <Graham Linden graham@lindenlab.com>2018-02-28 21:46:30 +0000
committerGraham Linden graham@lindenlab.com <Graham Linden graham@lindenlab.com>2018-02-28 21:46:30 +0000
commit72270213f5eebd019b10bdd6ec15020ba3d2ecf5 (patch)
treebe92c250563eedb720940b32cf42e328a49ea6b6 /indra/newview/app_settings
parent31017934581437836e847d8fcb5a76489f3baf50 (diff)
Add 3p package for adv atmospherics to autobuild.
Mark legacy atmospherics code with ifdefs. Fix up legacy uplift to include new atmospherics settings.
Diffstat (limited to 'indra/newview/app_settings')
-rw-r--r--indra/newview/app_settings/shaders/class3/windlight/advancedAtmoF.glsl2
-rw-r--r--indra/newview/app_settings/shaders/class3/windlight/skyF.glsl54
-rw-r--r--indra/newview/app_settings/shaders/class3/windlight/skyV.glsl121
-rw-r--r--indra/newview/app_settings/windlight/skies/A%2D12AM.xml56
-rw-r--r--indra/newview/app_settings/windlight/skies/A%2D12PM.xml56
-rw-r--r--indra/newview/app_settings/windlight/skies/A%2D3AM.xml56
-rw-r--r--indra/newview/app_settings/windlight/skies/A%2D3PM.xml56
-rw-r--r--indra/newview/app_settings/windlight/skies/A%2D6AM.xml56
-rw-r--r--indra/newview/app_settings/windlight/skies/A%2D6PM.xml56
-rw-r--r--indra/newview/app_settings/windlight/skies/A%2D9AM.xml56
-rw-r--r--indra/newview/app_settings/windlight/skies/A%2D9PM.xml56
-rw-r--r--indra/newview/app_settings/windlight/skies/Barcelona.xml56
-rw-r--r--indra/newview/app_settings/windlight/skies/Blizzard.xml56
-rw-r--r--indra/newview/app_settings/windlight/skies/Blue%20Midday.xml56
-rw-r--r--indra/newview/app_settings/windlight/skies/Coastal%20Afternoon.xml56
-rw-r--r--indra/newview/app_settings/windlight/skies/Coastal%20Sunset.xml56
-rw-r--r--indra/newview/app_settings/windlight/skies/Default.xml56
-rw-r--r--indra/newview/app_settings/windlight/skies/Desert%20Sunset.xml56
-rw-r--r--indra/newview/app_settings/windlight/skies/Fine%20Day.xml56
-rw-r--r--indra/newview/app_settings/windlight/skies/Fluffy%20Big%20Clouds.xml56
-rw-r--r--indra/newview/app_settings/windlight/skies/Foggy.xml56
-rw-r--r--indra/newview/app_settings/windlight/skies/Funky%20Funky%20Funky.xml56
-rw-r--r--indra/newview/app_settings/windlight/skies/Funky%20Funky.xml56
-rw-r--r--indra/newview/app_settings/windlight/skies/Gelatto.xml56
-rw-r--r--indra/newview/app_settings/windlight/skies/Ghost.xml56
-rw-r--r--indra/newview/app_settings/windlight/skies/Incongruent%20Truths.xml56
-rw-r--r--indra/newview/app_settings/windlight/skies/Midday%201.xml56
-rw-r--r--indra/newview/app_settings/windlight/skies/Midday%202.xml56
-rw-r--r--indra/newview/app_settings/windlight/skies/Midday%203.xml56
-rw-r--r--indra/newview/app_settings/windlight/skies/Midday%204.xml56
-rw-r--r--indra/newview/app_settings/windlight/skies/Midday.xml56
-rw-r--r--indra/newview/app_settings/windlight/skies/Midnight.xml56
-rw-r--r--indra/newview/app_settings/windlight/skies/Night.xml56
-rw-r--r--indra/newview/app_settings/windlight/skies/Pirate.xml56
-rw-r--r--indra/newview/app_settings/windlight/skies/Purple.xml56
-rw-r--r--indra/newview/app_settings/windlight/skies/Sailor%27s%20Delight.xml56
-rw-r--r--indra/newview/app_settings/windlight/skies/Sheer%20Surreality.xml56
-rw-r--r--indra/newview/app_settings/windlight/skies/Sunrise.xml56
-rw-r--r--indra/newview/app_settings/windlight/skies/Sunset.xml56
39 files changed, 2050 insertions, 143 deletions
diff --git a/indra/newview/app_settings/shaders/class3/windlight/advancedAtmoF.glsl b/indra/newview/app_settings/shaders/class3/windlight/advancedAtmoF.glsl
index c71eaf4b13..d27363a60c 100644
--- a/indra/newview/app_settings/shaders/class3/windlight/advancedAtmoF.glsl
+++ b/indra/newview/app_settings/shaders/class3/windlight/advancedAtmoF.glsl
@@ -33,9 +33,7 @@ in vec3 view_dir;
uniform vec3 cameraPosLocal;
uniform vec3 sun_direction;
-uniform vec2 sun_size;
-uniform sampler2D cloud_noise_texture;
uniform sampler2D transmittance_texture;
uniform sampler3D scattering_texture;
uniform sampler3D mie_scattering_texture;
diff --git a/indra/newview/app_settings/shaders/class3/windlight/skyF.glsl b/indra/newview/app_settings/shaders/class3/windlight/skyF.glsl
index e2a2367626..c71eaf4b13 100644
--- a/indra/newview/app_settings/shaders/class3/windlight/skyF.glsl
+++ b/indra/newview/app_settings/shaders/class3/windlight/skyF.glsl
@@ -1,5 +1,5 @@
/**
- * @file WLSkyF.glsl
+ * @file advancedAtmoF.glsl
*
* $LicenseInfo:firstyear=2005&license=viewerlgpl$
* Second Life Viewer Source Code
@@ -29,37 +29,43 @@ out vec4 frag_color;
#define frag_color gl_FragColor
#endif
-/////////////////////////////////////////////////////////////////////////
-// The fragment shader for the sky
-/////////////////////////////////////////////////////////////////////////
+in vec3 view_dir;
-VARYING vec4 vary_HazeColor;
+uniform vec3 cameraPosLocal;
+uniform vec3 sun_direction;
+uniform vec2 sun_size;
uniform sampler2D cloud_noise_texture;
-uniform vec4 gamma;
+uniform sampler2D transmittance_texture;
+uniform sampler3D scattering_texture;
+uniform sampler3D mie_scattering_texture;
-/// Soft clips the light with a gamma correction
-vec3 scaleSoftClip(vec3 light) {
- //soft clip effect:
- light = 1. - clamp(light, vec3(0.), vec3(1.));
- light = 1. - pow(light, gamma.xxx);
-
- return light;
-}
+vec3 GetSolarLuminance();
+vec3 GetSkyLuminance(vec3 camPos, vec3 view_dir, float shadow_length, vec3 sun_dir, out vec3 transmittance);
+vec3 GetSkyLuminanceToPoint(vec3 camPos, vec3 pos, float shadow_length, vec3 sun_dir, out vec3 transmittance);
+vec3 GetSunAndSkyIlluminance(vec3 pos, vec3 norm, vec3 sun_dir, out vec3 sky_irradiance);
void main()
{
- // Potential Fill-rate optimization. Add cloud calculation
- // back in and output alpha of 0 (so that alpha culling kills
- // the fragment) if the sky wouldn't show up because the clouds
- // are fully opaque.
+ vec3 view_direction = normalize(view_dir);
+
+ vec3 camPos = cameraPosLocal;
+ vec3 transmittance;
+ vec3 radiance = GetSkyLuminance(camPos, view_direction, 0.0f, sun_direction, transmittance);
- vec4 color;
- color = vary_HazeColor;
- color *= 2.;
+ radiance *= transmittance;
- /// Gamma correct for WL (soft clip effect).
- frag_color.rgb = scaleSoftClip(color.rgb);
- frag_color.a = 1.0;
+ // If the view ray intersects the Sun, add the Sun radiance.
+ if (dot(view_direction, sun_direction) >= sun_size.y)
+ {
+ radiance = radiance + transmittance * GetSolarLuminance();
+ }
+
+ vec3 color = vec3(1.0) - exp(-radiance);
+ color = pow(color, vec3(1.0 / 2.2));
+
+ frag_color.rgb = color;
+
+ frag_color.a = 1.0;
}
diff --git a/indra/newview/app_settings/shaders/class3/windlight/skyV.glsl b/indra/newview/app_settings/shaders/class3/windlight/skyV.glsl
index 3788ddaf2d..52a7595379 100644
--- a/indra/newview/app_settings/shaders/class3/windlight/skyV.glsl
+++ b/indra/newview/app_settings/shaders/class3/windlight/skyV.glsl
@@ -1,5 +1,5 @@
/**
- * @file WLSkyV.glsl
+ * @file advancedAtmoV.glsl
*
* $LicenseInfo:firstyear=2005&license=viewerlgpl$
* Second Life Viewer Source Code
@@ -27,130 +27,17 @@ uniform mat4 modelview_projection_matrix;
ATTRIBUTE vec3 position;
-// SKY ////////////////////////////////////////////////////////////////////////
-// The vertex shader for creating the atmospheric sky
-///////////////////////////////////////////////////////////////////////////////
-
-// Output parameters
-VARYING vec4 vary_HazeColor;
-
// Inputs
uniform vec3 camPosLocal;
-uniform vec4 lightnorm;
-uniform vec4 sunlight_color;
-uniform vec4 ambient;
-uniform vec4 blue_horizon;
-uniform vec4 blue_density;
-uniform float haze_horizon;
-uniform float haze_density;
-
-uniform float cloud_shadow;
-uniform float density_multiplier;
-uniform float max_y;
-
-uniform vec4 glow;
-
-uniform vec4 cloud_color;
+out vec3 view_dir;
void main()
{
-
// World / view / projection
gl_Position = modelview_projection_matrix * vec4(position.xyz, 1.0);
- // Get relative position
- vec3 P = position.xyz - camPosLocal.xyz + vec3(0,50,0);
- //vec3 P = position.xyz + vec3(0,50,0);
-
- // Set altitude
- if (P.y > 0.)
- {
- P *= (max_y / P.y);
- }
- else
- {
- P *= (-32000. / P.y);
- }
-
- // Can normalize then
- vec3 Pn = normalize(P);
- float Plen = length(P);
-
- // Initialize temp variables
- vec4 temp1 = vec4(0.);
- vec4 temp2 = vec4(0.);
- vec4 blue_weight;
- vec4 haze_weight;
- vec4 sunlight = sunlight_color;
- vec4 light_atten;
-
- // Sunlight attenuation effect (hue and brightness) due to atmosphere
- // this is used later for sunlight modulation at various altitudes
- light_atten = (blue_density + vec4(haze_density * 0.25)) * (density_multiplier * max_y);
-
- // Calculate relative weights
- temp1 = blue_density + haze_density;
- blue_weight = blue_density / temp1;
- haze_weight = haze_density / temp1;
-
- // Compute sunlight from P & lightnorm (for long rays like sky)
- temp2.y = max(0., max(0., Pn.y) * 1.0 + lightnorm.y );
- temp2.y = 1. / temp2.y;
- sunlight *= exp( - light_atten * temp2.y);
-
- // Distance
- temp2.z = Plen * density_multiplier;
-
- // Transparency (-> temp1)
- // ATI Bugfix -- can't store temp1*temp2.z in a variable because the ati
- // compiler gets confused.
- temp1 = exp(-temp1 * temp2.z);
-
-
- // Compute haze glow
- temp2.x = dot(Pn, lightnorm.xyz);
- temp2.x = 1. - temp2.x;
- // temp2.x is 0 at the sun and increases away from sun
- temp2.x = max(temp2.x, .001);
- // Set a minimum "angle" (smaller glow.y allows tighter, brighter hotspot)
- temp2.x *= glow.x;
- // Higher glow.x gives dimmer glow (because next step is 1 / "angle")
- temp2.x = pow(temp2.x, glow.z);
- // glow.z should be negative, so we're doing a sort of (1 / "angle") function
-
- // Add "minimum anti-solar illumination"
- temp2.x += .25;
-
-
- // Haze color above cloud
- vary_HazeColor = ( blue_horizon * blue_weight * (sunlight + ambient)
- + (haze_horizon * haze_weight) * (sunlight * temp2.x + ambient)
- );
-
-
- // Increase ambient when there are more clouds
- vec4 tmpAmbient = ambient;
- tmpAmbient += (1. - tmpAmbient) * cloud_shadow * 0.5;
-
- // Dim sunlight by cloud shadow percentage
- sunlight *= (1. - cloud_shadow);
-
- // Haze color below cloud
- vec4 additiveColorBelowCloud = ( blue_horizon * blue_weight * (sunlight + tmpAmbient)
- + (haze_horizon * haze_weight) * (sunlight * temp2.x + tmpAmbient)
- );
-
- // Final atmosphere additive
- vary_HazeColor *= (1. - temp1);
-
- // Attenuate cloud color by atmosphere
- temp1 = sqrt(temp1); //less atmos opacity (more transparency) below clouds
-
- // At horizon, blend high altitude sky color towards the darker color below the clouds
- vary_HazeColor += (additiveColorBelowCloud - vary_HazeColor) * (1. - sqrt(temp1));
-
- // won't compile on mac without this being set
- //vary_AtmosAttenuation = vec3(0.0,0.0,0.0);
+ // this will be normalized in the frag shader...
+ view_dir = position.xyz - camPosLocal.xyz;
}
diff --git a/indra/newview/app_settings/windlight/skies/A%2D12AM.xml b/indra/newview/app_settings/windlight/skies/A%2D12AM.xml
index 0aba31214a..93ef76d73c 100644
--- a/indra/newview/app_settings/windlight/skies/A%2D12AM.xml
+++ b/indra/newview/app_settings/windlight/skies/A%2D12AM.xml
@@ -137,5 +137,61 @@
<real>0.65999996662139893</real>
<real>0.2199999988079071</real>
</array>
+ <key>planet_radius</key>
+ <real>6360.0</real>
+ <key>sky_min_radius</key>
+ <real>6360.0</real>
+ <key>sky_max_radius</key>
+ <real>6420.0</real>
+ <key>rayleigh_config</key>
+ <map>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
+ <key>absorption_config</key>
+ <map>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
+ <key>mie_config</key>
+ <map>
+ <key>anisotropy</key>
+ <real>0.5f</real>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
</map>
</llsd>
diff --git a/indra/newview/app_settings/windlight/skies/A%2D12PM.xml b/indra/newview/app_settings/windlight/skies/A%2D12PM.xml
index 119b3e1418..87b2f09e30 100644
--- a/indra/newview/app_settings/windlight/skies/A%2D12PM.xml
+++ b/indra/newview/app_settings/windlight/skies/A%2D12PM.xml
@@ -137,5 +137,61 @@
<real>0.89999997615814209</real>
<real>0.29999998211860657</real>
</array>
+ <key>planet_radius</key>
+ <real>6360.0</real>
+ <key>sky_min_radius</key>
+ <real>6360.0</real>
+ <key>sky_max_radius</key>
+ <real>6420.0</real>
+ <key>rayleigh_config</key>
+ <map>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
+ <key>absorption_config</key>
+ <map>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
+ <key>mie_config</key>
+ <map>
+ <key>anisotropy</key>
+ <real>0.5f</real>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
</map>
</llsd>
diff --git a/indra/newview/app_settings/windlight/skies/A%2D3AM.xml b/indra/newview/app_settings/windlight/skies/A%2D3AM.xml
index f790d3d961..cf1ce5faf2 100644
--- a/indra/newview/app_settings/windlight/skies/A%2D3AM.xml
+++ b/indra/newview/app_settings/windlight/skies/A%2D3AM.xml
@@ -137,5 +137,61 @@
<real>1.1399999856948853</real>
<real>0.37999999523162842</real>
</array>
+ <key>planet_radius</key>
+ <real>6360.0</real>
+ <key>sky_min_radius</key>
+ <real>6360.0</real>
+ <key>sky_max_radius</key>
+ <real>6420.0</real>
+ <key>rayleigh_config</key>
+ <map>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
+ <key>absorption_config</key>
+ <map>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
+ <key>mie_config</key>
+ <map>
+ <key>anisotropy</key>
+ <real>0.5f</real>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
</map>
</llsd>
diff --git a/indra/newview/app_settings/windlight/skies/A%2D3PM.xml b/indra/newview/app_settings/windlight/skies/A%2D3PM.xml
index ec9706773e..3d94ea0d38 100644
--- a/indra/newview/app_settings/windlight/skies/A%2D3PM.xml
+++ b/indra/newview/app_settings/windlight/skies/A%2D3PM.xml
@@ -137,5 +137,61 @@
<real>0.89999997615813498</real>
<real>0.29999998211860301</real>
</array>
+ <key>planet_radius</key>
+ <real>6360.0</real>
+ <key>sky_min_radius</key>
+ <real>6360.0</real>
+ <key>sky_max_radius</key>
+ <real>6420.0</real>
+ <key>rayleigh_config</key>
+ <map>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
+ <key>absorption_config</key>
+ <map>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
+ <key>mie_config</key>
+ <map>
+ <key>anisotropy</key>
+ <real>0.5f</real>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
</map>
</llsd>
diff --git a/indra/newview/app_settings/windlight/skies/A%2D6AM.xml b/indra/newview/app_settings/windlight/skies/A%2D6AM.xml
index bbc7aeec59..3932f67f29 100644
--- a/indra/newview/app_settings/windlight/skies/A%2D6AM.xml
+++ b/indra/newview/app_settings/windlight/skies/A%2D6AM.xml
@@ -137,5 +137,61 @@
<real>2.369999885559082</real>
<real>0.78999996185302734</real>
</array>
+ <key>planet_radius</key>
+ <real>6360.0</real>
+ <key>sky_min_radius</key>
+ <real>6360.0</real>
+ <key>sky_max_radius</key>
+ <real>6420.0</real>
+ <key>rayleigh_config</key>
+ <map>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
+ <key>absorption_config</key>
+ <map>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
+ <key>mie_config</key>
+ <map>
+ <key>anisotropy</key>
+ <real>0.5f</real>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
</map>
</llsd>
diff --git a/indra/newview/app_settings/windlight/skies/A%2D6PM.xml b/indra/newview/app_settings/windlight/skies/A%2D6PM.xml
index ebf08e1a3f..a597a1245a 100644
--- a/indra/newview/app_settings/windlight/skies/A%2D6PM.xml
+++ b/indra/newview/app_settings/windlight/skies/A%2D6PM.xml
@@ -137,6 +137,62 @@
<real>2.8385701179504395</real>
<real>1</real>
</array>
+ <key>planet_radius</key>
+ <real>6360.0</real>
+ <key>sky_min_radius</key>
+ <real>6360.0</real>
+ <key>sky_max_radius</key>
+ <real>6420.0</real>
+ <key>rayleigh_config</key>
+ <map>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
+ <key>absorption_config</key>
+ <map>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
+ <key>mie_config</key>
+ <map>
+ <key>anisotropy</key>
+ <real>0.5f</real>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
</map>
</llsd>
diff --git a/indra/newview/app_settings/windlight/skies/A%2D9AM.xml b/indra/newview/app_settings/windlight/skies/A%2D9AM.xml
index 413e3a27d9..76f08de1b5 100644
--- a/indra/newview/app_settings/windlight/skies/A%2D9AM.xml
+++ b/indra/newview/app_settings/windlight/skies/A%2D9AM.xml
@@ -137,5 +137,61 @@
<real>0.89999995470046912</real>
<real>0.29999997496605069</real>
</array>
+ <key>planet_radius</key>
+ <real>6360.0</real>
+ <key>sky_min_radius</key>
+ <real>6360.0</real>
+ <key>sky_max_radius</key>
+ <real>6420.0</real>
+ <key>rayleigh_config</key>
+ <map>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
+ <key>absorption_config</key>
+ <map>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
+ <key>mie_config</key>
+ <map>
+ <key>anisotropy</key>
+ <real>0.5f</real>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
</map>
</llsd>
diff --git a/indra/newview/app_settings/windlight/skies/A%2D9PM.xml b/indra/newview/app_settings/windlight/skies/A%2D9PM.xml
index 292f6713b7..771bb564a4 100644
--- a/indra/newview/app_settings/windlight/skies/A%2D9PM.xml
+++ b/indra/newview/app_settings/windlight/skies/A%2D9PM.xml
@@ -137,5 +137,61 @@
<real>0.66003586768772493</real>
<real>0.22001197576412324</real>
</array>
+ <key>planet_radius</key>
+ <real>6360.0</real>
+ <key>sky_min_radius</key>
+ <real>6360.0</real>
+ <key>sky_max_radius</key>
+ <real>6420.0</real>
+ <key>rayleigh_config</key>
+ <map>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
+ <key>absorption_config</key>
+ <map>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
+ <key>mie_config</key>
+ <map>
+ <key>anisotropy</key>
+ <real>0.5f</real>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
</map>
</llsd>
diff --git a/indra/newview/app_settings/windlight/skies/Barcelona.xml b/indra/newview/app_settings/windlight/skies/Barcelona.xml
index ea9cab8fbb..4cc92e9005 100644
--- a/indra/newview/app_settings/windlight/skies/Barcelona.xml
+++ b/indra/newview/app_settings/windlight/skies/Barcelona.xml
@@ -137,5 +137,61 @@
<real>1.1699999570846558</real>
<real>0.38999998569488525</real>
</array>
+ <key>planet_radius</key>
+ <real>6360.0</real>
+ <key>sky_min_radius</key>
+ <real>6360.0</real>
+ <key>sky_max_radius</key>
+ <real>6420.0</real>
+ <key>rayleigh_config</key>
+ <map>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
+ <key>absorption_config</key>
+ <map>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
+ <key>mie_config</key>
+ <map>
+ <key>anisotropy</key>
+ <real>0.5f</real>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
</map>
</llsd>
diff --git a/indra/newview/app_settings/windlight/skies/Blizzard.xml b/indra/newview/app_settings/windlight/skies/Blizzard.xml
index d17d2790a8..84a923d008 100644
--- a/indra/newview/app_settings/windlight/skies/Blizzard.xml
+++ b/indra/newview/app_settings/windlight/skies/Blizzard.xml
@@ -137,5 +137,61 @@
<real>3</real>
<real>1</real>
</array>
+ <key>planet_radius</key>
+ <real>6360.0</real>
+ <key>sky_min_radius</key>
+ <real>6360.0</real>
+ <key>sky_max_radius</key>
+ <real>6420.0</real>
+ <key>rayleigh_config</key>
+ <map>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
+ <key>absorption_config</key>
+ <map>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
+ <key>mie_config</key>
+ <map>
+ <key>anisotropy</key>
+ <real>0.5f</real>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
</map>
</llsd>
diff --git a/indra/newview/app_settings/windlight/skies/Blue%20Midday.xml b/indra/newview/app_settings/windlight/skies/Blue%20Midday.xml
index 570f059961..8cb31d879a 100644
--- a/indra/newview/app_settings/windlight/skies/Blue%20Midday.xml
+++ b/indra/newview/app_settings/windlight/skies/Blue%20Midday.xml
@@ -137,5 +137,61 @@
<real>1.2300000190734863</real>
<real>0.40999999642372131</real>
</array>
+ <key>planet_radius</key>
+ <real>6360.0</real>
+ <key>sky_min_radius</key>
+ <real>6360.0</real>
+ <key>sky_max_radius</key>
+ <real>6420.0</real>
+ <key>rayleigh_config</key>
+ <map>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
+ <key>absorption_config</key>
+ <map>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
+ <key>mie_config</key>
+ <map>
+ <key>anisotropy</key>
+ <real>0.5f</real>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
</map>
</llsd>
diff --git a/indra/newview/app_settings/windlight/skies/Coastal%20Afternoon.xml b/indra/newview/app_settings/windlight/skies/Coastal%20Afternoon.xml
index 4925b29eea..17f5a60209 100644
--- a/indra/newview/app_settings/windlight/skies/Coastal%20Afternoon.xml
+++ b/indra/newview/app_settings/windlight/skies/Coastal%20Afternoon.xml
@@ -137,5 +137,61 @@
<real>3</real>
<real>1</real>
</array>
+ <key>planet_radius</key>
+ <real>6360.0</real>
+ <key>sky_min_radius</key>
+ <real>6360.0</real>
+ <key>sky_max_radius</key>
+ <real>6420.0</real>
+ <key>rayleigh_config</key>
+ <map>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
+ <key>absorption_config</key>
+ <map>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
+ <key>mie_config</key>
+ <map>
+ <key>anisotropy</key>
+ <real>0.5f</real>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
</map>
</llsd>
diff --git a/indra/newview/app_settings/windlight/skies/Coastal%20Sunset.xml b/indra/newview/app_settings/windlight/skies/Coastal%20Sunset.xml
index f4736cf4c6..4f80a3366c 100644
--- a/indra/newview/app_settings/windlight/skies/Coastal%20Sunset.xml
+++ b/indra/newview/app_settings/windlight/skies/Coastal%20Sunset.xml
@@ -137,5 +137,61 @@
<real>3</real>
<real>1</real>
</array>
+ <key>planet_radius</key>
+ <real>6360.0</real>
+ <key>sky_min_radius</key>
+ <real>6360.0</real>
+ <key>sky_max_radius</key>
+ <real>6420.0</real>
+ <key>rayleigh_config</key>
+ <map>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
+ <key>absorption_config</key>
+ <map>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
+ <key>mie_config</key>
+ <map>
+ <key>anisotropy</key>
+ <real>0.5f</real>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
</map>
</llsd>
diff --git a/indra/newview/app_settings/windlight/skies/Default.xml b/indra/newview/app_settings/windlight/skies/Default.xml
index 13a2c75046..381c7fb49d 100644
--- a/indra/newview/app_settings/windlight/skies/Default.xml
+++ b/indra/newview/app_settings/windlight/skies/Default.xml
@@ -137,5 +137,61 @@
<real>0.89999997615814209</real>
<real>0.29999998211860657</real>
</array>
+ <key>planet_radius</key>
+ <real>6360.0</real>
+ <key>sky_min_radius</key>
+ <real>6360.0</real>
+ <key>sky_max_radius</key>
+ <real>6420.0</real>
+ <key>rayleigh_config</key>
+ <map>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
+ <key>absorption_config</key>
+ <map>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
+ <key>mie_config</key>
+ <map>
+ <key>anisotropy</key>
+ <real>0.5f</real>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
</map>
</llsd>
diff --git a/indra/newview/app_settings/windlight/skies/Desert%20Sunset.xml b/indra/newview/app_settings/windlight/skies/Desert%20Sunset.xml
index b2a611163d..39d84a5ced 100644
--- a/indra/newview/app_settings/windlight/skies/Desert%20Sunset.xml
+++ b/indra/newview/app_settings/windlight/skies/Desert%20Sunset.xml
@@ -137,5 +137,61 @@
<real>2.8385701179504395</real>
<real>1</real>
</array>
+ <key>planet_radius</key>
+ <real>6360.0</real>
+ <key>sky_min_radius</key>
+ <real>6360.0</real>
+ <key>sky_max_radius</key>
+ <real>6420.0</real>
+ <key>rayleigh_config</key>
+ <map>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
+ <key>absorption_config</key>
+ <map>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
+ <key>mie_config</key>
+ <map>
+ <key>anisotropy</key>
+ <real>0.5f</real>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
</map>
</llsd>
diff --git a/indra/newview/app_settings/windlight/skies/Fine%20Day.xml b/indra/newview/app_settings/windlight/skies/Fine%20Day.xml
index e053815be1..b15e7c6236 100644
--- a/indra/newview/app_settings/windlight/skies/Fine%20Day.xml
+++ b/indra/newview/app_settings/windlight/skies/Fine%20Day.xml
@@ -137,5 +137,61 @@
<real>0.59999996423721313</real>
<real>2.25</real>
</array>
+ <key>planet_radius</key>
+ <real>6360.0</real>
+ <key>sky_min_radius</key>
+ <real>6360.0</real>
+ <key>sky_max_radius</key>
+ <real>6420.0</real>
+ <key>rayleigh_config</key>
+ <map>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
+ <key>absorption_config</key>
+ <map>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
+ <key>mie_config</key>
+ <map>
+ <key>anisotropy</key>
+ <real>0.5f</real>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
</map>
</llsd>
diff --git a/indra/newview/app_settings/windlight/skies/Fluffy%20Big%20Clouds.xml b/indra/newview/app_settings/windlight/skies/Fluffy%20Big%20Clouds.xml
index 8576ec125c..95dd872736 100644
--- a/indra/newview/app_settings/windlight/skies/Fluffy%20Big%20Clouds.xml
+++ b/indra/newview/app_settings/windlight/skies/Fluffy%20Big%20Clouds.xml
@@ -137,5 +137,61 @@
<real>1.0199999809265137</real>
<real>1.7999999523162842</real>
</array>
+ <key>planet_radius</key>
+ <real>6360.0</real>
+ <key>sky_min_radius</key>
+ <real>6360.0</real>
+ <key>sky_max_radius</key>
+ <real>6420.0</real>
+ <key>rayleigh_config</key>
+ <map>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
+ <key>absorption_config</key>
+ <map>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
+ <key>mie_config</key>
+ <map>
+ <key>anisotropy</key>
+ <real>0.5f</real>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
</map>
</llsd>
diff --git a/indra/newview/app_settings/windlight/skies/Foggy.xml b/indra/newview/app_settings/windlight/skies/Foggy.xml
index cb7395d589..313c922a4e 100644
--- a/indra/newview/app_settings/windlight/skies/Foggy.xml
+++ b/indra/newview/app_settings/windlight/skies/Foggy.xml
@@ -137,5 +137,61 @@
<real>0.53999996185302734</real>
<real>0.17999999225139618</real>
</array>
+ <key>planet_radius</key>
+ <real>6360.0</real>
+ <key>sky_min_radius</key>
+ <real>6360.0</real>
+ <key>sky_max_radius</key>
+ <real>6420.0</real>
+ <key>rayleigh_config</key>
+ <map>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
+ <key>absorption_config</key>
+ <map>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
+ <key>mie_config</key>
+ <map>
+ <key>anisotropy</key>
+ <real>0.5f</real>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
</map>
</llsd>
diff --git a/indra/newview/app_settings/windlight/skies/Funky%20Funky%20Funky.xml b/indra/newview/app_settings/windlight/skies/Funky%20Funky%20Funky.xml
index 32be0d25e6..f627575d31 100644
--- a/indra/newview/app_settings/windlight/skies/Funky%20Funky%20Funky.xml
+++ b/indra/newview/app_settings/windlight/skies/Funky%20Funky%20Funky.xml
@@ -137,5 +137,61 @@
<real>2.8385701179504395</real>
<real>1</real>
</array>
+ <key>planet_radius</key>
+ <real>6360.0</real>
+ <key>sky_min_radius</key>
+ <real>6360.0</real>
+ <key>sky_max_radius</key>
+ <real>6420.0</real>
+ <key>rayleigh_config</key>
+ <map>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
+ <key>absorption_config</key>
+ <map>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
+ <key>mie_config</key>
+ <map>
+ <key>anisotropy</key>
+ <real>0.5f</real>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
</map>
</llsd>
diff --git a/indra/newview/app_settings/windlight/skies/Funky%20Funky.xml b/indra/newview/app_settings/windlight/skies/Funky%20Funky.xml
index ae16b2d135..245fec5999 100644
--- a/indra/newview/app_settings/windlight/skies/Funky%20Funky.xml
+++ b/indra/newview/app_settings/windlight/skies/Funky%20Funky.xml
@@ -137,5 +137,61 @@
<real>2.2200000286102295</real>
<real>0.74000000953674316</real>
</array>
+ <key>planet_radius</key>
+ <real>6360.0</real>
+ <key>sky_min_radius</key>
+ <real>6360.0</real>
+ <key>sky_max_radius</key>
+ <real>6420.0</real>
+ <key>rayleigh_config</key>
+ <map>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
+ <key>absorption_config</key>
+ <map>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
+ <key>mie_config</key>
+ <map>
+ <key>anisotropy</key>
+ <real>0.5f</real>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
</map>
</llsd>
diff --git a/indra/newview/app_settings/windlight/skies/Gelatto.xml b/indra/newview/app_settings/windlight/skies/Gelatto.xml
index 66b3d317b8..69f758d4f5 100644
--- a/indra/newview/app_settings/windlight/skies/Gelatto.xml
+++ b/indra/newview/app_settings/windlight/skies/Gelatto.xml
@@ -137,5 +137,61 @@
<real>0.37800011038780212</real>
<real>0.80999994277954102</real>
</array>
+ <key>planet_radius</key>
+ <real>6360.0</real>
+ <key>sky_min_radius</key>
+ <real>6360.0</real>
+ <key>sky_max_radius</key>
+ <real>6420.0</real>
+ <key>rayleigh_config</key>
+ <map>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
+ <key>absorption_config</key>
+ <map>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
+ <key>mie_config</key>
+ <map>
+ <key>anisotropy</key>
+ <real>0.5f</real>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
</map>
</llsd>
diff --git a/indra/newview/app_settings/windlight/skies/Ghost.xml b/indra/newview/app_settings/windlight/skies/Ghost.xml
index 447202ed51..2707cae7f9 100644
--- a/indra/newview/app_settings/windlight/skies/Ghost.xml
+++ b/indra/newview/app_settings/windlight/skies/Ghost.xml
@@ -137,5 +137,61 @@
<real>0.33000001311302185</real>
<real>1</real>
</array>
+ <key>planet_radius</key>
+ <real>6360.0</real>
+ <key>sky_min_radius</key>
+ <real>6360.0</real>
+ <key>sky_max_radius</key>
+ <real>6420.0</real>
+ <key>rayleigh_config</key>
+ <map>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
+ <key>absorption_config</key>
+ <map>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
+ <key>mie_config</key>
+ <map>
+ <key>anisotropy</key>
+ <real>0.5f</real>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
</map>
</llsd>
diff --git a/indra/newview/app_settings/windlight/skies/Incongruent%20Truths.xml b/indra/newview/app_settings/windlight/skies/Incongruent%20Truths.xml
index 098844e16e..d5f2305e84 100644
--- a/indra/newview/app_settings/windlight/skies/Incongruent%20Truths.xml
+++ b/indra/newview/app_settings/windlight/skies/Incongruent%20Truths.xml
@@ -137,5 +137,61 @@
<real>1.170000433921814</real>
<real>0.75</real>
</array>
+ <key>planet_radius</key>
+ <real>6360.0</real>
+ <key>sky_min_radius</key>
+ <real>6360.0</real>
+ <key>sky_max_radius</key>
+ <real>6420.0</real>
+ <key>rayleigh_config</key>
+ <map>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
+ <key>absorption_config</key>
+ <map>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
+ <key>mie_config</key>
+ <map>
+ <key>anisotropy</key>
+ <real>0.5f</real>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
</map>
</llsd>
diff --git a/indra/newview/app_settings/windlight/skies/Midday%201.xml b/indra/newview/app_settings/windlight/skies/Midday%201.xml
index 13a2c75046..381c7fb49d 100644
--- a/indra/newview/app_settings/windlight/skies/Midday%201.xml
+++ b/indra/newview/app_settings/windlight/skies/Midday%201.xml
@@ -137,5 +137,61 @@
<real>0.89999997615814209</real>
<real>0.29999998211860657</real>
</array>
+ <key>planet_radius</key>
+ <real>6360.0</real>
+ <key>sky_min_radius</key>
+ <real>6360.0</real>
+ <key>sky_max_radius</key>
+ <real>6420.0</real>
+ <key>rayleigh_config</key>
+ <map>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
+ <key>absorption_config</key>
+ <map>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
+ <key>mie_config</key>
+ <map>
+ <key>anisotropy</key>
+ <real>0.5f</real>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
</map>
</llsd>
diff --git a/indra/newview/app_settings/windlight/skies/Midday%202.xml b/indra/newview/app_settings/windlight/skies/Midday%202.xml
index 04f2ba85ee..91d70c2228 100644
--- a/indra/newview/app_settings/windlight/skies/Midday%202.xml
+++ b/indra/newview/app_settings/windlight/skies/Midday%202.xml
@@ -137,5 +137,61 @@
<real>0.80999994277954102</real>
<real>0.26999998092651367</real>
</array>
+ <key>planet_radius</key>
+ <real>6360.0</real>
+ <key>sky_min_radius</key>
+ <real>6360.0</real>
+ <key>sky_max_radius</key>
+ <real>6420.0</real>
+ <key>rayleigh_config</key>
+ <map>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
+ <key>absorption_config</key>
+ <map>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
+ <key>mie_config</key>
+ <map>
+ <key>anisotropy</key>
+ <real>0.5f</real>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
</map>
</llsd>
diff --git a/indra/newview/app_settings/windlight/skies/Midday%203.xml b/indra/newview/app_settings/windlight/skies/Midday%203.xml
index a23dcab60b..816a4da670 100644
--- a/indra/newview/app_settings/windlight/skies/Midday%203.xml
+++ b/indra/newview/app_settings/windlight/skies/Midday%203.xml
@@ -137,5 +137,61 @@
<real>1.2599999904632568</real>
<real>1</real>
</array>
+ <key>planet_radius</key>
+ <real>6360.0</real>
+ <key>sky_min_radius</key>
+ <real>6360.0</real>
+ <key>sky_max_radius</key>
+ <real>6420.0</real>
+ <key>rayleigh_config</key>
+ <map>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
+ <key>absorption_config</key>
+ <map>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
+ <key>mie_config</key>
+ <map>
+ <key>anisotropy</key>
+ <real>0.5f</real>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
</map>
</llsd>
diff --git a/indra/newview/app_settings/windlight/skies/Midday%204.xml b/indra/newview/app_settings/windlight/skies/Midday%204.xml
index 255e314e0f..df64ed371c 100644
--- a/indra/newview/app_settings/windlight/skies/Midday%204.xml
+++ b/indra/newview/app_settings/windlight/skies/Midday%204.xml
@@ -137,5 +137,61 @@
<real>1.2599999904632568</real>
<real>0.41999998688697815</real>
</array>
+ <key>planet_radius</key>
+ <real>6360.0</real>
+ <key>sky_min_radius</key>
+ <real>6360.0</real>
+ <key>sky_max_radius</key>
+ <real>6420.0</real>
+ <key>rayleigh_config</key>
+ <map>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
+ <key>absorption_config</key>
+ <map>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
+ <key>mie_config</key>
+ <map>
+ <key>anisotropy</key>
+ <real>0.5f</real>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
</map>
</llsd>
diff --git a/indra/newview/app_settings/windlight/skies/Midday.xml b/indra/newview/app_settings/windlight/skies/Midday.xml
index 119b3e1418..87b2f09e30 100644
--- a/indra/newview/app_settings/windlight/skies/Midday.xml
+++ b/indra/newview/app_settings/windlight/skies/Midday.xml
@@ -137,5 +137,61 @@
<real>0.89999997615814209</real>
<real>0.29999998211860657</real>
</array>
+ <key>planet_radius</key>
+ <real>6360.0</real>
+ <key>sky_min_radius</key>
+ <real>6360.0</real>
+ <key>sky_max_radius</key>
+ <real>6420.0</real>
+ <key>rayleigh_config</key>
+ <map>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
+ <key>absorption_config</key>
+ <map>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
+ <key>mie_config</key>
+ <map>
+ <key>anisotropy</key>
+ <real>0.5f</real>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
</map>
</llsd>
diff --git a/indra/newview/app_settings/windlight/skies/Midnight.xml b/indra/newview/app_settings/windlight/skies/Midnight.xml
index 0aba31214a..00cfc64420 100644
--- a/indra/newview/app_settings/windlight/skies/Midnight.xml
+++ b/indra/newview/app_settings/windlight/skies/Midnight.xml
@@ -137,5 +137,61 @@
<real>0.65999996662139893</real>
<real>0.2199999988079071</real>
</array>
+ <key>planet_radius</key>
+ <real>6360.0</real>
+ <key>sky_min_radius</key>
+ <real>6360.0</real>
+ <key>sky_max_radius</key>
+ <real>6420.0</real>
+ <key>rayleigh_config</key>
+ <map>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
+ <key>absorption_config</key>
+ <map>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
+ <key>mie_config</key>
+ <map>
+ <key>anisotropy</key>
+ <real>0.5f</real>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
</map>
</llsd>
diff --git a/indra/newview/app_settings/windlight/skies/Night.xml b/indra/newview/app_settings/windlight/skies/Night.xml
index c4938949ce..c56177e821 100644
--- a/indra/newview/app_settings/windlight/skies/Night.xml
+++ b/indra/newview/app_settings/windlight/skies/Night.xml
@@ -137,5 +137,61 @@
<real>0.65999994893325931</real>
<real>0.22000000284673543</real>
</array>
+ <key>planet_radius</key>
+ <real>6360.0</real>
+ <key>sky_min_radius</key>
+ <real>6360.0</real>
+ <key>sky_max_radius</key>
+ <real>6420.0</real>
+ <key>rayleigh_config</key>
+ <map>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
+ <key>absorption_config</key>
+ <map>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
+ <key>mie_config</key>
+ <map>
+ <key>anisotropy</key>
+ <real>0.5f</real>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
</map>
</llsd>
diff --git a/indra/newview/app_settings/windlight/skies/Pirate.xml b/indra/newview/app_settings/windlight/skies/Pirate.xml
index dcb9c27ba4..1f5c18dd65 100644
--- a/indra/newview/app_settings/windlight/skies/Pirate.xml
+++ b/indra/newview/app_settings/windlight/skies/Pirate.xml
@@ -137,5 +137,61 @@
<real>2.8385701179504395</real>
<real>1</real>
</array>
+ <key>planet_radius</key>
+ <real>6360.0</real>
+ <key>sky_min_radius</key>
+ <real>6360.0</real>
+ <key>sky_max_radius</key>
+ <real>6420.0</real>
+ <key>rayleigh_config</key>
+ <map>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
+ <key>absorption_config</key>
+ <map>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
+ <key>mie_config</key>
+ <map>
+ <key>anisotropy</key>
+ <real>0.5f</real>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
</map>
</llsd>
diff --git a/indra/newview/app_settings/windlight/skies/Purple.xml b/indra/newview/app_settings/windlight/skies/Purple.xml
index 0e9ac3f36e..3d937660ad 100644
--- a/indra/newview/app_settings/windlight/skies/Purple.xml
+++ b/indra/newview/app_settings/windlight/skies/Purple.xml
@@ -137,5 +137,61 @@
<real>2.8385701179504395</real>
<real>1</real>
</array>
+ <key>planet_radius</key>
+ <real>6360.0</real>
+ <key>sky_min_radius</key>
+ <real>6360.0</real>
+ <key>sky_max_radius</key>
+ <real>6420.0</real>
+ <key>rayleigh_config</key>
+ <map>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
+ <key>absorption_config</key>
+ <map>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
+ <key>mie_config</key>
+ <map>
+ <key>anisotropy</key>
+ <real>0.5f</real>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
</map>
</llsd>
diff --git a/indra/newview/app_settings/windlight/skies/Sailor%27s%20Delight.xml b/indra/newview/app_settings/windlight/skies/Sailor%27s%20Delight.xml
index 70df6b0e60..b3a631f482 100644
--- a/indra/newview/app_settings/windlight/skies/Sailor%27s%20Delight.xml
+++ b/indra/newview/app_settings/windlight/skies/Sailor%27s%20Delight.xml
@@ -137,5 +137,61 @@
<real>1.0777359008789062</real>
<real>0.56000000238418579</real>
</array>
+ <key>planet_radius</key>
+ <real>6360.0</real>
+ <key>sky_min_radius</key>
+ <real>6360.0</real>
+ <key>sky_max_radius</key>
+ <real>6420.0</real>
+ <key>rayleigh_config</key>
+ <map>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
+ <key>absorption_config</key>
+ <map>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
+ <key>mie_config</key>
+ <map>
+ <key>anisotropy</key>
+ <real>0.5f</real>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
</map>
</llsd>
diff --git a/indra/newview/app_settings/windlight/skies/Sheer%20Surreality.xml b/indra/newview/app_settings/windlight/skies/Sheer%20Surreality.xml
index 4c44a1bdb2..252ba58a9a 100644
--- a/indra/newview/app_settings/windlight/skies/Sheer%20Surreality.xml
+++ b/indra/newview/app_settings/windlight/skies/Sheer%20Surreality.xml
@@ -137,5 +137,61 @@
<real>0.53999996185302734</real>
<real>1.5899999141693115</real>
</array>
+ <key>planet_radius</key>
+ <real>6360.0</real>
+ <key>sky_min_radius</key>
+ <real>6360.0</real>
+ <key>sky_max_radius</key>
+ <real>6420.0</real>
+ <key>rayleigh_config</key>
+ <map>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
+ <key>absorption_config</key>
+ <map>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
+ <key>mie_config</key>
+ <map>
+ <key>anisotropy</key>
+ <real>0.5f</real>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
</map>
</llsd>
diff --git a/indra/newview/app_settings/windlight/skies/Sunrise.xml b/indra/newview/app_settings/windlight/skies/Sunrise.xml
index bbc7aeec59..3932f67f29 100644
--- a/indra/newview/app_settings/windlight/skies/Sunrise.xml
+++ b/indra/newview/app_settings/windlight/skies/Sunrise.xml
@@ -137,5 +137,61 @@
<real>2.369999885559082</real>
<real>0.78999996185302734</real>
</array>
+ <key>planet_radius</key>
+ <real>6360.0</real>
+ <key>sky_min_radius</key>
+ <real>6360.0</real>
+ <key>sky_max_radius</key>
+ <real>6420.0</real>
+ <key>rayleigh_config</key>
+ <map>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
+ <key>absorption_config</key>
+ <map>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
+ <key>mie_config</key>
+ <map>
+ <key>anisotropy</key>
+ <real>0.5f</real>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
</map>
</llsd>
diff --git a/indra/newview/app_settings/windlight/skies/Sunset.xml b/indra/newview/app_settings/windlight/skies/Sunset.xml
index ebf08e1a3f..a597a1245a 100644
--- a/indra/newview/app_settings/windlight/skies/Sunset.xml
+++ b/indra/newview/app_settings/windlight/skies/Sunset.xml
@@ -137,6 +137,62 @@
<real>2.8385701179504395</real>
<real>1</real>
</array>
+ <key>planet_radius</key>
+ <real>6360.0</real>
+ <key>sky_min_radius</key>
+ <real>6360.0</real>
+ <key>sky_max_radius</key>
+ <real>6420.0</real>
+ <key>rayleigh_config</key>
+ <map>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
+ <key>absorption_config</key>
+ <map>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
+ <key>mie_config</key>
+ <map>
+ <key>anisotropy</key>
+ <real>0.5f</real>
+ <key>density</key>
+ <map>
+ <key>width</key>
+ <real>0.0</real>
+ <key>exp_term</key>
+ <real>1.0</real>
+ <key>exp_scale</key>
+ <real>-0.00001</real>
+ <key>linear_term</key>
+ <real>0.0</real>
+ <key>constant_term</key>
+ <real>1.0</real>
+ </map>
+ </map>
</map>
</llsd>