diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2021-06-03 20:28:59 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2021-06-03 20:28:59 +0800 |
commit | 6dfbf8fd561187ef23eacf9aaae606c0fb42381f (patch) | |
tree | 42af64e6988c9468b7abedbc9f980722d18a6ca6 /product.vert |
Initial working commit
Diffstat (limited to 'product.vert')
-rw-r--r-- | product.vert | 9 |
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; +} |