diff options
author | SmileTheory <SmileTheory@gmail.com> | 2014-11-10 21:59:37 -0800 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2015-03-17 11:38:55 +0000 |
commit | 6d2d70c7fd0d6f56269f611146e65a715aa7898a (patch) | |
tree | 6845eac6697e856134d034ad6951635c8e507a10 /src/renderergl2/glsl/generic_vp.glsl | |
parent | e162c6334e08d3b6a9c4097b4014e7b3c922d0ff (diff) |
OpenGL2: remove lightmap support from generic glsl shader. This path was barely used and doing this compiles fewer shaders.
Diffstat (limited to 'src/renderergl2/glsl/generic_vp.glsl')
-rw-r--r-- | src/renderergl2/glsl/generic_vp.glsl | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/renderergl2/glsl/generic_vp.glsl b/src/renderergl2/glsl/generic_vp.glsl index 859b4363..bbe08e84 100644 --- a/src/renderergl2/glsl/generic_vp.glsl +++ b/src/renderergl2/glsl/generic_vp.glsl @@ -9,7 +9,7 @@ attribute vec3 attr_Normal2; attribute vec4 attr_Color; attribute vec4 attr_TexCoord0; -#if defined(USE_LIGHTMAP) || defined(USE_TCGEN) +#if defined(USE_TCGEN) attribute vec4 attr_TexCoord1; #endif @@ -57,9 +57,6 @@ uniform float u_VertexLerp; #endif varying vec2 var_DiffuseTex; -#if defined(USE_LIGHTMAP) -varying vec2 var_LightTex; -#endif varying vec4 var_Color; #if defined(USE_DEFORM_VERTEXES) @@ -230,10 +227,6 @@ void main() var_DiffuseTex = tex; #endif -#if defined(USE_LIGHTMAP) - var_LightTex = attr_TexCoord1.st; -#endif - #if defined(USE_RGBAGEN) var_Color = CalcColor(position, normal); #else |