summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class2/windlight/cloudsV.glsl
diff options
context:
space:
mode:
authorGraham Linden <graham@lindenlab.com>2019-05-02 13:49:35 -0700
committerGraham Linden <graham@lindenlab.com>2019-05-02 13:49:35 -0700
commitc4032528aff8ef1938e897ec583bbf25a3e713e1 (patch)
tree4addd3b6619e6e911898d09ef446d0d40ef8a73e /indra/newview/app_settings/shaders/class2/windlight/cloudsV.glsl
parent1ff876a961dc00b7f162054ea1a9fed79240bffc (diff)
Roll back sRGB decode changes from contrib for now.
Fix direct light matching across alpha/blended-material/deferred. Get diffuse lighting to match from Low to Ultra.
Diffstat (limited to 'indra/newview/app_settings/shaders/class2/windlight/cloudsV.glsl')
-rw-r--r--indra/newview/app_settings/shaders/class2/windlight/cloudsV.glsl3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/app_settings/shaders/class2/windlight/cloudsV.glsl b/indra/newview/app_settings/shaders/class2/windlight/cloudsV.glsl
index 64156bd3bf..5c5cd0294a 100644
--- a/indra/newview/app_settings/shaders/class2/windlight/cloudsV.glsl
+++ b/indra/newview/app_settings/shaders/class2/windlight/cloudsV.glsl
@@ -180,7 +180,8 @@ void main()
// Texture coords
vary_texcoord0 = texcoord0;
vary_texcoord0.xy -= 0.5;
- vary_texcoord0.xy /= max(0.001, cloud_scale);
+ vary_texcoord0.xy /= cloud_scale;
+ //vary_texcoord0.xy /= max(0.001, cloud_scale);
vary_texcoord0.xy += 0.5;
vary_texcoord1 = vary_texcoord0;