summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class1/deferred/fullbrightV.glsl
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2022-12-05 11:48:50 -0600
committerDave Parks <davep@lindenlab.com>2022-12-05 11:48:50 -0600
commit3c20f0b1d4dd7257dc608823d82b6f798c492b43 (patch)
tree097a0449791247c160c07fdea2c0a0a438e837f5 /indra/newview/app_settings/shaders/class1/deferred/fullbrightV.glsl
parent598e33e2e880388a457a496bea5b5d25bdf2aa28 (diff)
SL-18692 Fix for fullbright alpha not clipping against water plane (also fixes ultraspace particles).
Diffstat (limited to 'indra/newview/app_settings/shaders/class1/deferred/fullbrightV.glsl')
-rw-r--r--indra/newview/app_settings/shaders/class1/deferred/fullbrightV.glsl4
1 files changed, 0 insertions, 4 deletions
diff --git a/indra/newview/app_settings/shaders/class1/deferred/fullbrightV.glsl b/indra/newview/app_settings/shaders/class1/deferred/fullbrightV.glsl
index e71636f2c9..e565722164 100644
--- a/indra/newview/app_settings/shaders/class1/deferred/fullbrightV.glsl
+++ b/indra/newview/app_settings/shaders/class1/deferred/fullbrightV.glsl
@@ -38,9 +38,7 @@ void calcAtmospherics(vec3 inPositionEye);
vec3 atmosAmbient();
vec3 atmosAffectDirectionalLight(float lightIntensity);
-#ifdef WATER_FOG
VARYING vec3 vary_position;
-#endif
VARYING vec4 vertex_color;
VARYING vec2 vary_texcoord0;
@@ -66,9 +64,7 @@ void main()
gl_Position = modelview_projection_matrix*vec4(position.xyz, 1.0);
#endif
-#ifdef WATER_FOG
vary_position = pos.xyz;
-#endif
vary_texcoord0 = (texture_matrix0 * vec4(texcoord0,0,1)).xy;