19/20 is done so setup for day 21.

This commit is contained in:
Zed A. Shaw 2026-08-30 13:51:01 -04:00
parent f51df89054
commit c32e7bd00d
208 changed files with 15289 additions and 0 deletions

View file

@ -0,0 +1,16 @@
#version 330 core
out vec4 FragColor;
struct Light {
vec3 position;
vec3 ambient;
vec3 diffuse;
vec3 specular;
};
uniform Light light;
void main()
{
FragColor = vec4(light.diffuse, 1.0); // set all 4 vector values to 1.0
}