Now have a material and highlight map.

This commit is contained in:
Zed A. Shaw 2026-08-21 15:37:02 -04:00
parent 19a91bab18
commit fb2c871419
8 changed files with 159 additions and 110 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
}