Nigel
06b979dfaa
Added a light source removed texturing removed drawing multiple instances of the same cube
11 lines
160 B
GLSL
11 lines
160 B
GLSL
#version 460 core
|
|
out vec4 FragColor;
|
|
|
|
uniform vec3 objectColor;
|
|
uniform vec3 lightColor;
|
|
|
|
|
|
void main()
|
|
{
|
|
FragColor = vec4(lightColor * objectColor, 1.0);
|
|
} |