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
index e69de29..2151162 100644
--- a/assets/shaders/triangle.frag
+++ 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, 1.0); } \ No newline at end of file