aboutsummaryrefslogtreecommitdiffstats
path: root/shaders/new.frag
diff options
context:
space:
mode:
Diffstat (limited to 'shaders/new.frag')
-rw-r--r--shaders/new.frag9
1 files changed, 9 insertions, 0 deletions
diff --git a/shaders/new.frag b/shaders/new.frag
new file mode 100644
index 0000000..8812d72
--- /dev/null
+++ b/shaders/new.frag
@@ -0,0 +1,9 @@
+uniform sampler2D sampler;
+
+varying vec2 texCoord;
+varying float join;
+
+void main(){
+ vec4 color = texture2D(sampler, vec2(texCoord.x, texCoord.y));
+ gl_FragColor = color;
+}