Pushed latest changes (idk what they are)

This commit is contained in:
Robert 2020-09-24 23:16:26 +02:00
parent fd522fe56a
commit 2477370912
8 changed files with 21 additions and 3 deletions

View file

@ -5,8 +5,9 @@ in vec2 vertexUV;
out vec4 fragmentColor;
uniform sampler2D modelTexture;
uniform vec3 lightColor;
void main()
{
fragmentColor = texture(modelTexture, vertexUV);
fragmentColor = texture(modelTexture, vertexUV) * vec4(lightColor, 1.0f);
}