From 6dfbf8fd561187ef23eacf9aaae606c0fb42381f Mon Sep 17 00:00:00 2001 From: ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ Date: Thu, 3 Jun 2021 20:28:59 +0800 Subject: Initial working commit --- product.frag | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 product.frag (limited to 'product.frag') 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); +} -- cgit v1.3