repositories
/
SugarCubes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Now with shader language and many fps
[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;
+}
+