projects
/
nexus3d
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
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
+++ b/
test.v.glsl
@@ -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;
+}