diff options
author | Cosmic Linden <cosmic@lindenlab.com> | 2022-10-13 17:10:09 -0700 |
---|---|---|
committer | Cosmic Linden <cosmic@lindenlab.com> | 2022-10-13 17:10:09 -0700 |
commit | 239dc764e66b3cfeb165a304e64f3f5ad756c3e5 (patch) | |
tree | 0fc33cb43777cabae9dd1bb9f2fd7799fbbfc081 /indra/newview/app_settings/shaders/class1/deferred | |
parent | 982e2bcbeaa3a56a884ecb168dc655dc6413465c (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.glsl | 4 |
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 |