summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class1/deferred/spotLightF.glsl
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2013-09-09 14:51:34 -0400
committerOz Linden <oz@lindenlab.com>2013-09-09 14:51:34 -0400
commitc4b070ae0011a0c2aa8dd3d01c5f3ad3ecbd3ec3 (patch)
treed9da12a63dad133b557ff14972844e21dee8dc34 /indra/newview/app_settings/shaders/class1/deferred/spotLightF.glsl
parent8dc273b942ca3bae7469dcbaf7bab171b889eea1 (diff)
parent55ae6a7962cdc9a9d7d087fbc529d30db9c37013 (diff)
merge changes for 3.6.5-release
Diffstat (limited to 'indra/newview/app_settings/shaders/class1/deferred/spotLightF.glsl')
-rwxr-xr-xindra/newview/app_settings/shaders/class1/deferred/spotLightF.glsl5
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/app_settings/shaders/class1/deferred/spotLightF.glsl b/indra/newview/app_settings/shaders/class1/deferred/spotLightF.glsl
index 1975b18652..28432dac9a 100755
--- a/indra/newview/app_settings/shaders/class1/deferred/spotLightF.glsl
+++ b/indra/newview/app_settings/shaders/class1/deferred/spotLightF.glsl
@@ -22,8 +22,9 @@
* Linden Research, Inc., 945 Battery Street, San Francisco, CA 94111 USA
* $/LicenseInfo$
*/
-
+
#extension GL_ARB_texture_rectangle : enable
+#extension GL_ARB_shader_texture_lod : enable
#ifdef DEFINE_GL_FRAGCOLOR
out vec4 frag_color;
@@ -31,6 +32,8 @@ out vec4 frag_color;
#define frag_color gl_FragColor
#endif
+//class 1 -- no shadows
+
uniform sampler2DRect diffuseRect;
uniform sampler2DRect specularRect;
uniform sampler2DRect depthMap;