1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,18 @@ |
1 |
+#version 150 |
|
2 |
+ |
|
3 |
+#extension GL_ARB_shading_language_include : require |
|
4 |
+ |
|
5 |
+ |
|
6 |
+#include "quad.geom.h" |
|
7 |
+ |
|
8 |
+ |
|
9 |
+uniform int instance_count; |
|
10 |
+ |
|
11 |
+ |
|
12 |
+in int instance_id[]; |
|
13 |
+ |
|
14 |
+ |
|
15 |
+void main() |
|
16 |
+{ |
|
17 |
+ quad(instance_id[0], instance_count); |
|
18 |
+} |