From 86bd56a8983b664e145ddd3b34a2c2fa8bdf21a9 Mon Sep 17 00:00:00 2001 From: sanine-a Date: Sat, 23 May 2020 12:36:13 -0500 Subject: add normals to primitives --- light.fs | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 light.fs (limited to 'light.fs') 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 -- cgit v1.2.1