diff options
author | Dave Parks <davep@lindenlab.com> | 2011-05-31 14:42:17 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2011-05-31 14:42:17 -0500 |
commit | 9da4007f85912330a70bc87bfb97cbcf1033e3ab (patch) | |
tree | 08f94effb0e9ccd8f17bc214f53e62a14a51b405 /indra/newview/app_settings/shaders/class2/lighting/lightF.glsl | |
parent | fa76b8992c6c636303d398bd25d34c39ae23419e (diff) | |
parent | ece32418e7c1828a65c88e526a5afcb635c5453a (diff) |
merge
Diffstat (limited to 'indra/newview/app_settings/shaders/class2/lighting/lightF.glsl')
-rw-r--r-- | indra/newview/app_settings/shaders/class2/lighting/lightF.glsl | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/indra/newview/app_settings/shaders/class2/lighting/lightF.glsl b/indra/newview/app_settings/shaders/class2/lighting/lightF.glsl index d5775f4506..4c31602736 100644 --- a/indra/newview/app_settings/shaders/class2/lighting/lightF.glsl +++ b/indra/newview/app_settings/shaders/class2/lighting/lightF.glsl @@ -5,35 +5,7 @@ * $/LicenseInfo$ */ -#version 120 -uniform sampler2D tex0; -uniform sampler2D tex1; -uniform sampler2D tex2; -uniform sampler2D tex3; -uniform sampler2D tex4; -uniform sampler2D tex5; -uniform sampler2D tex6; -uniform sampler2D tex7; - -varying float vary_texture_index; - -vec4 diffuseLookup(vec2 texcoord) -{ - switch (int(vary_texture_index+0.25)) - { - case 0: return texture2D(tex0, texcoord); - case 1: return texture2D(tex1, texcoord); - case 2: return texture2D(tex2, texcoord); - case 3: return texture2D(tex3, texcoord); - case 4: return texture2D(tex4, texcoord); - case 5: return texture2D(tex5, texcoord); - case 6: return texture2D(tex6, texcoord); - case 7: return texture2D(tex7, texcoord); - } - - return vec4(0,0,0,0); -} vec3 atmosLighting(vec3 light); vec3 scaleSoftClip(vec3 light); |