diff options
Diffstat (limited to 'data/simple.vert')
-rw-r--r-- | data/simple.vert | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/data/simple.vert b/data/simple.vert new file mode 100644 index 0000000..5987379 --- /dev/null +++ b/data/simple.vert @@ -0,0 +1,11 @@ +uniform mat4 mvp; + +attribute vec4 vert_color; + +varying vec4 color; + +void main(void) +{ + gl_Position = mvp * gl_Vertex; + color = abs(vert_color); +} |