diff options
Diffstat (limited to 'productviewer/product.frag')
-rw-r--r-- | productviewer/product.frag | 7 |
1 files changed, 7 insertions, 0 deletions
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); +} |