summaryrefslogtreecommitdiff
path: root/product.vert
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-06-03 20:28:59 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-06-03 20:28:59 +0800
commit6dfbf8fd561187ef23eacf9aaae606c0fb42381f (patch)
tree42af64e6988c9468b7abedbc9f980722d18a6ca6 /product.vert
Initial working commit
Diffstat (limited to 'product.vert')
-rw-r--r--product.vert9
1 files changed, 9 insertions, 0 deletions
diff --git a/product.vert b/product.vert
new file mode 100644
index 0000000..b040d01
--- /dev/null
+++ b/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;
+}