]> git.tdb.fi Git - libs/gl.git/blobdiff - shaderlib/msp_interface.glsl
Remove deprecated interfaces from material and lighting code
[libs/gl.git] / shaderlib / msp_interface.glsl
index 959f9ba55b31742662bbd088c4a11c80df5165fd..6c229da0f32da92fc9bd76db74241a5542fba478 100644 (file)
@@ -24,9 +24,6 @@ uniform Lighting
        // Declared as an array for compatibility reasons
        LightSourceParameters light_sources[1];
        vec4 ambient_color;
-       vec4 sky_color;
-       vec3 world_zenith_dir;
-       float horizon_limit;
        vec4 fog_color;
        float fog_density;
 };
@@ -43,7 +40,7 @@ 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=4) in ivec4 group;
 layout(location=5) in vec4 weight;
 layout(location=6) in vec4 texcoord;
 layout(location=7) in vec4 texcoord1;