diff options
author | Dave Parks <davep@lindenlab.com> | 2012-02-08 15:14:03 -0600 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2012-02-08 15:14:03 -0600 |
commit | c6acd4723526ed82e79dccef18aaf4821e53dfeb (patch) | |
tree | 1bb9e2f73ea8860f92f5668a77107cf8e421977b /indra/newview/app_settings/shaders/class2/windlight/cloudsV.glsl | |
parent | bb1a1f9d01fdbc377ca61f52041f66a86b974086 (diff) |
SH-2592 Fix for some shader uniforms using the wrong vector size.
Diffstat (limited to 'indra/newview/app_settings/shaders/class2/windlight/cloudsV.glsl')
-rw-r--r-- | indra/newview/app_settings/shaders/class2/windlight/cloudsV.glsl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/app_settings/shaders/class2/windlight/cloudsV.glsl b/indra/newview/app_settings/shaders/class2/windlight/cloudsV.glsl index 2406359721..c1dd45cd67 100644 --- a/indra/newview/app_settings/shaders/class2/windlight/cloudsV.glsl +++ b/indra/newview/app_settings/shaders/class2/windlight/cloudsV.glsl @@ -60,7 +60,7 @@ uniform vec4 glow; uniform vec4 cloud_color; -uniform vec4 cloud_scale; +uniform float cloud_scale; void main() { @@ -169,7 +169,7 @@ void main() // Texture coords vary_texcoord0 = texcoord0; vary_texcoord0.xy -= 0.5; - vary_texcoord0.xy /= cloud_scale.x; + vary_texcoord0.xy /= cloud_scale; vary_texcoord0.xy += 0.5; vary_texcoord1 = vary_texcoord0; |