summaryrefslogtreecommitdiff
path: root/product.frag
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.frag
Initial working commit
Diffstat (limited to 'product.frag')
-rw-r--r--product.frag7
1 files changed, 7 insertions, 0 deletions
diff --git a/product.frag b/product.frag
new file mode 100644
index 0000000..6bbb24d
--- /dev/null
+++ b/product.frag
@@ -0,0 +1,7 @@
+precision mediump float;
+varying vec2 v_texcoord;
+uniform sampler2D s_texture;
+void main()
+{
+ gl_FragColor = texture2D(s_texture, v_texcoord);
+}