summaryrefslogtreecommitdiff
path: root/assets/shaders/triangle.frag
diff options
context:
space:
mode:
Diffstat (limited to 'assets/shaders/triangle.frag')
-rw-r--r--assets/shaders/triangle.frag6
1 files changed, 6 insertions, 0 deletions
diff --git a/assets/shaders/triangle.frag b/assets/shaders/triangle.frag
new file mode 100644
index 0000000..c3ff328
--- /dev/null
+++ b/assets/shaders/triangle.frag
@@ -0,0 +1,6 @@
+#version 450
+
+layout(location = 0) in vec3 fragColor;
+layout(location = 0) out vec4 outColor;
+
+void main() { outColor = vec4(fragColor, 0.0); }