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