summaryrefslogtreecommitdiff
path: root/src/renderergl2/glsl/lightall_vp.glsl
diff options
context:
space:
mode:
authorSmileTheory <SmileTheory@gmail.com>2014-04-16 05:26:03 -0700
committerTim Angus <tim@ngus.net>2014-06-17 17:43:42 +0100
commiteadaba4913c24cfc8b96d813a3017c9081ad0dbd (patch)
treeddcf4fdf6ca4ccfa0f32a4874d6760acf2e7828c /src/renderergl2/glsl/lightall_vp.glsl
parentd9ed6a7cf6f7091c8c7e44df93b9fa3e1f772643 (diff)
OpenGL2: Remove sRGB support, replace with gamma cvars.
Diffstat (limited to 'src/renderergl2/glsl/lightall_vp.glsl')
-rw-r--r--src/renderergl2/glsl/lightall_vp.glsl8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/renderergl2/glsl/lightall_vp.glsl b/src/renderergl2/glsl/lightall_vp.glsl
index 2e1c899c..b9e839de 100644
--- a/src/renderergl2/glsl/lightall_vp.glsl
+++ b/src/renderergl2/glsl/lightall_vp.glsl
@@ -83,10 +83,6 @@ varying vec3 var_ViewDir;
#endif
#endif
-#if defined(USE_LIGHT_VERTEX) && !defined(USE_FAST_LIGHT)
-varying vec3 var_LightColor;
-#endif
-
#if defined(USE_LIGHT) && !defined(USE_FAST_LIGHT)
varying vec4 var_LightDir;
#endif
@@ -216,10 +212,6 @@ void main()
#endif
var_Color = u_VertColor * attr_Color + u_BaseColor;
-#if defined(USE_LIGHT_VERTEX) && !defined(USE_FAST_LIGHT)
- var_LightColor = var_Color.rgb;
- var_Color.rgb = vec3(1.0);
-#endif
#if defined(USE_LIGHT_VECTOR) && defined(USE_FAST_LIGHT)
float sqrLightDist = dot(L, L);