diff options
-rw-r--r-- | data/shaders/lighting.frag | 1 | ||||
-rw-r--r-- | data/shaders/lighting.vert | 4 |
2 files changed, 0 insertions, 5 deletions
diff --git a/data/shaders/lighting.frag b/data/shaders/lighting.frag index ab13e52..48c6cf0 100644 --- a/data/shaders/lighting.frag +++ b/data/shaders/lighting.frag @@ -14,7 +14,6 @@ varying vec3 normal; varying vec3 light0vc; varying vec3 light1vc; -varying vec3 light2vc; uniform sampler2D texture; uniform sampler2D normalmap; diff --git a/data/shaders/lighting.vert b/data/shaders/lighting.vert index 0092d66..783978c 100644 --- a/data/shaders/lighting.vert +++ b/data/shaders/lighting.vert @@ -14,7 +14,6 @@ varying vec3 normal; varying vec3 light0vc; varying vec3 light1vc; -varying vec3 light2vc; varying vec3 col_ambi_diff; varying vec3 col_emit; @@ -34,9 +33,6 @@ void main() { /* Light 1: Diffuse background glow */ light1vc = normalize(vec3(gl_LightSource[1].position)); - /* Light 2: Fill-in light for lander */ - light2vc = normalize(vec3(gl_LightSource[2].position)); - /* Material properties */ col_ambi_diff = gl_Color.rgb; col_emit = gl_FrontMaterial.emission.rgb; |