summaryrefslogtreecommitdiff
path: root/src/rend2/glsl/lightall_vp.glsl
diff options
context:
space:
mode:
Diffstat (limited to 'src/rend2/glsl/lightall_vp.glsl')
-rw-r--r--src/rend2/glsl/lightall_vp.glsl8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/rend2/glsl/lightall_vp.glsl b/src/rend2/glsl/lightall_vp.glsl
index 3db22fba..d3c61683 100644
--- a/src/rend2/glsl/lightall_vp.glsl
+++ b/src/rend2/glsl/lightall_vp.glsl
@@ -92,10 +92,6 @@ varying vec3 var_VertLight;
varying vec3 var_WorldLight;
#endif
-#if defined(USE_LIGHT_VECTOR) && !defined(USE_FAST_LIGHT) && defined(USE_SHADOWMAP)
-varying vec4 var_ScreenPos;
-#endif
-
#if defined(USE_TCMOD)
vec2 ModTexCoords(vec2 st, vec3 position, vec4 texMatrix, vec4 offTurb)
{
@@ -133,10 +129,6 @@ void main()
gl_Position = u_ModelViewProjectionMatrix * position;
-#if defined(USE_LIGHT_VECTOR) && !defined(USE_FAST_LIGHT) && defined(USE_SHADOWMAP)
- var_ScreenPos = gl_Position + vec2(1.0, 0.0).xxyx * gl_Position.w;
-#endif
-
#if (defined(USE_LIGHTMAP) || defined(USE_LIGHT_VERTEX)) && !defined(USE_DELUXEMAP) && !defined(USE_FAST_LIGHT)
vec3 worldLight = attr_LightDirection;
#endif