aboutsummaryrefslogtreecommitdiff
path: root/resources/object.frag
diff options
context:
space:
mode:
Diffstat (limited to 'resources/object.frag')
-rw-r--r--resources/object.frag13
1 files changed, 13 insertions, 0 deletions
diff --git a/resources/object.frag b/resources/object.frag
new file mode 100644
index 0000000..0914c83
--- /dev/null
+++ b/resources/object.frag
@@ -0,0 +1,13 @@
+#version 330 core
+
+//in vec2 UV;
+in vec4 fragColor;
+
+out vec4 color;
+
+//uniform sampler2D textureSampler;
+
+void main() {
+ //color = texture(textureSampler, UV).rgba;
+ color = fragColor;
+}