summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class1/deferred/shadowCubeV.glsl
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2023-01-11 11:28:45 -0600
committerDave Parks <davep@lindenlab.com>2023-01-11 11:28:45 -0600
commitb4f53334141b179bdb1762636ce313f14d9e2b10 (patch)
treee03a3ec75618c9039f85771fc17ca36bcc453e8c /indra/newview/app_settings/shaders/class1/deferred/shadowCubeV.glsl
parentcd1e7da099b66cbeb510d169a5415e57b617cd37 (diff)
SL-18869 Touch up -- Prune "post_pos" from shadow shaders that don't need it and fix non-standard gl_Position z values
Diffstat (limited to 'indra/newview/app_settings/shaders/class1/deferred/shadowCubeV.glsl')
-rw-r--r--indra/newview/app_settings/shaders/class1/deferred/shadowCubeV.glsl10
1 files changed, 0 insertions, 10 deletions
diff --git a/indra/newview/app_settings/shaders/class1/deferred/shadowCubeV.glsl b/indra/newview/app_settings/shaders/class1/deferred/shadowCubeV.glsl
index 0e74d2eb8a..9608e89169 100644
--- a/indra/newview/app_settings/shaders/class1/deferred/shadowCubeV.glsl
+++ b/indra/newview/app_settings/shaders/class1/deferred/shadowCubeV.glsl
@@ -27,10 +27,6 @@ uniform mat4 modelview_projection_matrix;
ATTRIBUTE vec3 position;
-#if !defined(DEPTH_CLAMP)
-VARYING vec4 post_pos;
-#endif
-
uniform vec3 box_center;
uniform vec3 box_size;
@@ -40,11 +36,5 @@ void main()
vec3 p = position*box_size+box_center;
vec4 pos = modelview_projection_matrix*vec4(p.xyz, 1.0);
-#if !defined(DEPTH_CLAMP)
- post_pos = pos;
-
- gl_Position = vec4(pos.x, pos.y, pos.w*0.5, pos.w);
-#else
gl_Position = pos;
-#endif
}