From 04e158dacb2f66331b7453a7bf0ab1ce5d41bdd8 Mon Sep 17 00:00:00 2001 From: taw27 Date: Wed, 6 Aug 2008 15:48:20 +0000 Subject: Muppetry git-svn-id: svn://cook.msm.cam.ac.uk:745/thrust3d/thrust3d@224 84d2e878-0bd5-11dd-ad15-13eda11d74c5 --- data/shaders/lighting.frag | 1 - data/shaders/lighting.vert | 4 ---- 2 files changed, 5 deletions(-) (limited to 'data') 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; -- cgit v1.2.3