LearnOpenGL/shader.fs

11 lines
160 B
Forth
Raw Normal View History

2022-02-11 21:24:15 +00:00
#version 460 core
out vec4 FragColor;
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()
{
FragColor = vec4(lightColor * objectColor, 1.0);
2022-02-11 21:24:15 +00:00
}