aboutsummaryrefslogtreecommitdiff
path: root/assets/shaders/Flag.frag.glsl
diff options
context:
space:
mode:
Diffstat (limited to 'assets/shaders/Flag.frag.glsl')
-rw-r--r--assets/shaders/Flag.frag.glsl13
1 files changed, 13 insertions, 0 deletions
diff --git a/assets/shaders/Flag.frag.glsl b/assets/shaders/Flag.frag.glsl
new file mode 100644
index 00000000..79d4bec3
--- /dev/null
+++ b/assets/shaders/Flag.frag.glsl
@@ -0,0 +1,13 @@
1#ifdef GL_ES
2precision highp float;
3#endif
4
5uniform sampler2D u_tex0;
6
7varying vec2 v_uv;
8
9void main(void)
10{
11 vec3 col = texture2D(u_tex0, v_uv).xyz;
12 gl_FragColor = vec4(col,1.0);
13} \ No newline at end of file