summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class2/lighting/lightFullbrightF.glsl
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/app_settings/shaders/class2/lighting/lightFullbrightF.glsl')
-rw-r--r--indra/newview/app_settings/shaders/class2/lighting/lightFullbrightF.glsl30
1 files changed, 1 insertions, 29 deletions
diff --git a/indra/newview/app_settings/shaders/class2/lighting/lightFullbrightF.glsl b/indra/newview/app_settings/shaders/class2/lighting/lightFullbrightF.glsl
index e64b089dca..95bd052b5d 100644
--- a/indra/newview/app_settings/shaders/class2/lighting/lightFullbrightF.glsl
+++ b/indra/newview/app_settings/shaders/class2/lighting/lightFullbrightF.glsl
@@ -5,39 +5,11 @@
* $/LicenseInfo$
*/
-#version 120
+
vec3 fullbrightAtmosTransport(vec3 light);
vec3 fullbrightScaleSoftClip(vec3 light);
-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);
-}
-
void fullbright_lighting()
{
vec4 color = diffuseLookup(gl_TexCoord[0].xy) * gl_Color;