From 9a51b07bb7c5e80fbe1e892d8647f1eb793b6329 Mon Sep 17 00:00:00 2001 From: ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ Date: Tue, 8 Feb 2022 22:34:51 +0800 Subject: Put shader files in its pkg dir --- productviewer/product.frag | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 productviewer/product.frag (limited to 'productviewer/product.frag') diff --git a/productviewer/product.frag b/productviewer/product.frag new file mode 100644 index 0000000..6bbb24d --- /dev/null +++ b/productviewer/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