summaryrefslogtreecommitdiff
path: root/engine/fragment.glsl
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2023-10-07 20:52:09 +0200
committerHampusM <hampus@hampusmat.com>2023-10-07 20:52:09 +0200
commit715bbaf459b88575e11d90ec16bad3841bafd259 (patch)
treea253d4c40237c7f3c5decff833cf85ea0eafbe42 /engine/fragment.glsl
parent146635292369cc8a9660139d97cd9662025bd591 (diff)
feat(engine): add ability to render triangles
Diffstat (limited to 'engine/fragment.glsl')
-rw-r--r--engine/fragment.glsl7
1 files changed, 7 insertions, 0 deletions
diff --git a/engine/fragment.glsl b/engine/fragment.glsl
new file mode 100644
index 0000000..0c56a32
--- /dev/null
+++ b/engine/fragment.glsl
@@ -0,0 +1,7 @@
+#version 330 core
+out vec4 FragColor;
+
+void main()
+{
+ FragColor = vec4(1.0f, 0.5f, 0.2f, 1.0f);
+}