- shaders for both lightmapped objects with or without albedo maps
[laserbrain_demo] / sdr / test.v.glsl
diff --git a/sdr/test.v.glsl b/sdr/test.v.glsl
deleted file mode 100644 (file)
index a8c7159..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-varying vec3 vdir, ldir[3], normal;
-
-void main()
-{
-       gl_Position = ftransform();
-       vec3 vpos = (gl_ModelViewMatrix * gl_Vertex).xyz;
-       normal = gl_NormalMatrix * gl_Normal;
-       vdir = -vpos;
-       ldir[0] = gl_LightSource[0].position.xyz - vpos;
-       ldir[1] = gl_LightSource[1].position.xyz - vpos;
-       ldir[2] = gl_LightSource[2].position.xyz - vpos;
-
-       gl_TexCoord[0] = gl_MultiTexCoord0;
-       gl_TexCoord[1] = gl_MultiTexCoord1;
-}