summaryrefslogtreecommitdiff
path: root/light.fs
diff options
context:
space:
mode:
Diffstat (limited to 'light.fs')
-rw-r--r--light.fs9
1 files changed, 9 insertions, 0 deletions
diff --git a/light.fs b/light.fs
new file mode 100644
index 0000000..f2a2431
--- /dev/null
+++ b/light.fs
@@ -0,0 +1,9 @@
+#version 330 core
+
+out vec4 fragment_color;
+
+uniform vec3 light_color;
+
+void main() {
+ fragment_color = vec4(light_color.xyz, 1.0);
+} \ No newline at end of file