summaryrefslogtreecommitdiffstats
path: root/src/shader.frag
diff options
context:
space:
mode:
authorgrm <grm@eyesin.space>2024-05-19 04:06:41 +0300
committergrm <grm@eyesin.space>2024-05-19 04:06:41 +0300
commit5f0de3a300e4c432272285de84b298ab29f1c07a (patch)
treee6f614b0e2c5e05bed95705778a0d5d5dedbe446 /src/shader.frag
downloadcgame-5f0de3a300e4c432272285de84b298ab29f1c07a.tar.gz
cgame-5f0de3a300e4c432272285de84b298ab29f1c07a.tar.bz2
cgame-5f0de3a300e4c432272285de84b298ab29f1c07a.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);
+}