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.frag |
Initial working commit
Diffstat (limited to 'product.frag')
-rw-r--r-- | product.frag | 7 |
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); +} |