summaryrefslogtreecommitdiffstats
path: root/src/shader.frag
diff options
context:
space:
mode:
authorgramanas <anastasis.gramm2@gmail.com>2024-05-19 04:06:41 +0300
committergramanas <anastasis.gramm2@gmail.com>2024-05-19 04:06:41 +0300
commit9ead62940aecb7793b3d82c9c8eb73bc9eb4f60f (patch)
treee6f614b0e2c5e05bed95705778a0d5d5dedbe446 /src/shader.frag
downloadcgame-9ead62940aecb7793b3d82c9c8eb73bc9eb4f60f.tar.gz
cgame-9ead62940aecb7793b3d82c9c8eb73bc9eb4f60f.tar.bz2
cgame-9ead62940aecb7793b3d82c9c8eb73bc9eb4f60f.zip
aait
Diffstat (limited to 'src/shader.frag')
-rw-r--r--src/shader.frag9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/shader.frag b/src/shader.frag
new file mode 100644
index 0000000..7c5b0e7
--- /dev/null
+++ b/src/shader.frag
@@ -0,0 +1,9 @@
+#version 450
+
+layout(location = 0) in vec3 fragColor;
+
+layout(location = 0) out vec4 outColor;
+
+void main() {
+ outColor = vec4(fragColor, 1.0);
+}