summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class1/deferred
diff options
context:
space:
mode:
authorCosmic Linden <cosmic@lindenlab.com>2022-10-13 17:10:09 -0700
committerCosmic Linden <cosmic@lindenlab.com>2022-10-13 17:10:09 -0700
commit239dc764e66b3cfeb165a304e64f3f5ad756c3e5 (patch)
tree0fc33cb43777cabae9dd1bb9f2fd7799fbbfc081 /indra/newview/app_settings/shaders/class1/deferred
parent982e2bcbeaa3a56a884ecb168dc655dc6413465c (diff)
SL-18340: Consistently use HAS_SUN_SHADOW for shader permutation
Diffstat (limited to 'indra/newview/app_settings/shaders/class1/deferred')
-rw-r--r--indra/newview/app_settings/shaders/class1/deferred/pbralphaV.glsl4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/app_settings/shaders/class1/deferred/pbralphaV.glsl b/indra/newview/app_settings/shaders/class1/deferred/pbralphaV.glsl
index b3880ab178..d0d76fd0cb 100644
--- a/indra/newview/app_settings/shaders/class1/deferred/pbralphaV.glsl
+++ b/indra/newview/app_settings/shaders/class1/deferred/pbralphaV.glsl
@@ -46,7 +46,7 @@ uniform mat4 modelview_projection_matrix;
uniform mat4 texture_matrix0;
-#ifdef HAS_SHADOW
+#ifdef HAS_SUN_SHADOW
VARYING vec3 vary_fragcoord;
uniform float near_clip;
#endif
@@ -85,7 +85,7 @@ void main()
#endif
gl_Position = vert;
-#ifdef HAS_SHADOW
+#ifdef HAS_SUN_SHADOW
vary_fragcoord.xyz = vert.xyz + vec3(0,0,near_clip);
#endif