Merge branch 'processing-2'
[SugarCubes.git] / vert.glsl
diff --git a/vert.glsl b/vert.glsl
new file mode 100644 (file)
index 0000000..0b58f60
--- /dev/null
+++ b/vert.glsl
@@ -0,0 +1,11 @@
+uniform mat4 transform;
+attribute vec4 vertex;
+attribute vec4 color;
+varying vec4 vertColor;
+attribute float pointsize;
+void main() {
+  gl_Position = transform * vertex;  
+  vertColor = color;
+  gl_PointSize = 100.0;
+}
+