2020-09-07 08:44:51 +00:00
|
|
|
#version 460 core
|
|
|
|
|
|
|
|
in vec2 vertexUV;
|
|
|
|
|
|
|
|
out vec4 fragmentColor;
|
|
|
|
|
|
|
|
uniform sampler2D modelTexture;
|
2020-09-24 21:16:26 +00:00
|
|
|
uniform vec3 lightColor;
|
2020-09-07 08:44:51 +00:00
|
|
|
|
|
|
|
void main()
|
|
|
|
{
|
2020-09-24 21:16:26 +00:00
|
|
|
fragmentColor = texture(modelTexture, vertexUV) * vec4(lightColor, 1.0f);
|
2020-09-07 08:44:51 +00:00
|
|
|
}
|