shader/font_frag.glsl

changeset 15
362b7659dc76
child 16
c5dde81b6fb2
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/shader/font_frag.glsl	Wed Nov 08 23:17:07 2023 +0100
@@ -0,0 +1,10 @@
+#version 400 core
+
+in vec2 texcoord;
+out vec4 fragment;
+
+uniform sampler2DRect surface;
+
+void main(void) {
+    fragment = texture(surface, texcoord);
+}

mercurial