]> git.tdb.fi Git - libs/gl.git/blobdiff - shaderlib/msp_interface.glsl
Redesign Light to only have a single color
[libs/gl.git] / shaderlib / msp_interface.glsl
index fbbcec3b95a70d45bee3262b77d687340621d756..c4b27b1137e7d77886c15ee510ad0697478a3ff8 100644 (file)
@@ -1,8 +1,7 @@
 struct LightSourceParameters
 {
        vec4 position;
-       vec4 diffuse;
-       vec4 specular;
+       vec3 color;
 };
 
 struct ClipPlane
@@ -42,6 +41,8 @@ layout(location=0) in vec4 vertex;
 layout(location=1) in vec4 color;
 layout(location=2) in vec3 normal;
 layout(location=3) in vec3 tangent;
+layout(location=4) in vec4 group;
+layout(location=5) in vec4 weight;
 layout(location=6) in vec4 texcoord;
 layout(location=7) in vec4 texcoord1;
 layout(location=8) in vec4 texcoord2;