summaryrefslogtreecommitdiff
path: root/fragment.glsl
diff options
context:
space:
mode:
authorsanine-a <sanine.not@pm.me>2023-03-22 12:46:23 -0500
committersanine-a <sanine.not@pm.me>2023-03-22 12:46:23 -0500
commit92803015adf19848c3f3a30caea889006ad05999 (patch)
treed3a3a325664ebb3f2b8c214217dce31746a1ae9a /fragment.glsl
parent16bcc6daab84373cac0f4125c1580d3cb1261baf (diff)
tidy up main.lua
Diffstat (limited to 'fragment.glsl')
-rw-r--r--fragment.glsl15
1 files changed, 15 insertions, 0 deletions
diff --git a/fragment.glsl b/fragment.glsl
new file mode 100644
index 0000000..27dbbfa
--- /dev/null
+++ b/fragment.glsl
@@ -0,0 +1,15 @@
+#version 410 core
+out vec4 FragColor;
+
+in vec3 position;
+in vec3 normal;
+in vec2 tex;
+
+uniform sampler2D ourTexture;
+
+void main()
+{
+ FragColor = vec4(normal, 1.0f);
+ //FragColor = vec4(tex, 1.0f, 1.0f);
+ //FragColor = texture(ourTexture, TexCoord);
+}