summaryrefslogtreecommitdiff
path: root/instancing/shaders/default.fs
diff options
context:
space:
mode:
Diffstat (limited to 'instancing/shaders/default.fs')
-rw-r--r--instancing/shaders/default.fs13
1 files changed, 13 insertions, 0 deletions
diff --git a/instancing/shaders/default.fs b/instancing/shaders/default.fs
new file mode 100644
index 0000000..c655ac8
--- /dev/null
+++ b/instancing/shaders/default.fs
@@ -0,0 +1,13 @@
+#version 330 core
+
+in vec2 tex_coords;
+
+out vec4 frag_color;
+
+uniform sampler2D texture0;
+
+void
+main(void)
+{
+ frag_color = texture(texture0, tex_coords);
+} \ No newline at end of file