summary refs log tree commit diff
path: root/src/shaders/triangle.frag.glsl
diff options
context:
space:
mode:
Diffstat (limited to 'src/shaders/triangle.frag.glsl')
-rw-r--r--src/shaders/triangle.frag.glsl6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/shaders/triangle.frag.glsl b/src/shaders/triangle.frag.glsl
new file mode 100644
index 0000000..664c399
--- /dev/null
+++ b/src/shaders/triangle.frag.glsl
@@ -0,0 +1,6 @@
+#version 330 core
+out vec4 FragColor;
+void main()
+{
+    FragColor = vec4(1.0, 0.0, 0.0, 1.0);
+}