diff options
author | taw27 <taw27@84d2e878-0bd5-11dd-ad15-13eda11d74c5> | 2008-08-06 15:48:20 +0000 |
---|---|---|
committer | taw27 <taw27@84d2e878-0bd5-11dd-ad15-13eda11d74c5> | 2008-08-06 15:48:20 +0000 |
commit | 04e158dacb2f66331b7453a7bf0ab1ce5d41bdd8 (patch) | |
tree | 59986eefaf85095ab191651954732d095aa8b722 /data/shaders | |
parent | 31606fee6eb5917e602103067b1f0d85ae1ff476 (diff) |
Muppetry
git-svn-id: svn://cook.msm.cam.ac.uk:745/thrust3d/thrust3d@224 84d2e878-0bd5-11dd-ad15-13eda11d74c5
Diffstat (limited to 'data/shaders')
-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; |