From 6dfbf8fd561187ef23eacf9aaae606c0fb42381f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Thu, 3 Jun 2021 20:28:59 +0800 Subject: Initial working commit --- product.vert | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 product.vert (limited to 'product.vert') 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; +} -- cgit v1.2.3