diff options
author | Graham Linden <graham@lindenlab.com> | 2019-06-20 08:49:09 -0700 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2019-06-20 08:49:09 -0700 |
commit | 81659325b8978f78cc2633836404bfb0892564e9 (patch) | |
tree | 370641bf55575bf4ad15b52ed897dcb1844b6f74 /indra/newview/app_settings/shaders/class1/deferred/cloudsV.glsl | |
parent | c1d1d7968325403a8033fa79567f07345c49b0a8 (diff) |
SL-11373
Fix class2/windlight clouds.
Diffstat (limited to 'indra/newview/app_settings/shaders/class1/deferred/cloudsV.glsl')
-rw-r--r-- | indra/newview/app_settings/shaders/class1/deferred/cloudsV.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/app_settings/shaders/class1/deferred/cloudsV.glsl b/indra/newview/app_settings/shaders/class1/deferred/cloudsV.glsl index 9f49432c7d..20ab0fb171 100644 --- a/indra/newview/app_settings/shaders/class1/deferred/cloudsV.glsl +++ b/indra/newview/app_settings/shaders/class1/deferred/cloudsV.glsl @@ -110,7 +110,7 @@ void main() light_atten = (blue_density + vec4(haze_density * 0.25)) * (dens_mul * max_y); // Calculate relative weights - temp1 = blue_density + haze_density; + temp1 = abs(blue_density) + vec4(abs(haze_density)); blue_weight = blue_density / temp1; haze_weight = haze_density / temp1; |