evolving the basic gfx abstractions
[nexus3d] / test.v.glsl
diff --git a/test.v.glsl b/test.v.glsl
new file mode 100644 (file)
index 0000000..0ecd84a
--- /dev/null
@@ -0,0 +1,11 @@
+#version 410
+
+layout(location = 0) in vec4 attr_vertex;
+layout(location = 1) in vec4 attr_color;
+layout(location = 3) out vec4 vcol;
+
+void main()
+{
+       gl_Position = attr_vertex;
+       vcol = attr_color;
+}