summaryrefslogtreecommitdiff
path: root/productviewer/product.vert
diff options
context:
space:
mode:
Diffstat (limited to 'productviewer/product.vert')
-rw-r--r--productviewer/product.vert9
1 files changed, 9 insertions, 0 deletions
diff --git a/productviewer/product.vert b/productviewer/product.vert
new file mode 100644
index 0000000..b040d01
--- /dev/null
+++ b/productviewer/product.vert
@@ -0,0 +1,9 @@
+uniform mat4 u_matrix;
+attribute vec4 a_position;
+attribute vec2 a_texcoord;
+varying vec2 v_texcoord;
+void main()
+{
+ gl_Position = u_matrix * a_position;
+ v_texcoord = a_texcoord;
+}