summaryrefslogtreecommitdiffstats
path: root/src/shader.frag
diff options
context:
space:
mode:
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);
+}