2022-02-11 21:24:15 +00:00
|
|
|
#version 460 core
|
|
|
|
out vec4 FragColor;
|
|
|
|
|
2022-02-13 12:19:54 +00:00
|
|
|
uniform vec3 objectColor;
|
|
|
|
uniform vec3 lightColor;
|
2022-02-11 21:24:15 +00:00
|
|
|
|
2022-02-12 20:38:31 +00:00
|
|
|
|
2022-02-11 21:24:15 +00:00
|
|
|
void main()
|
|
|
|
{
|
2022-02-13 12:19:54 +00:00
|
|
|
FragColor = vec4(lightColor * objectColor, 1.0);
|
2022-02-11 21:24:15 +00:00
|
|
|
}
|