Pushed latest changes (idk what they are)
This commit is contained in:
parent
fd522fe56a
commit
2477370912
8 changed files with 21 additions and 3 deletions
|
@ -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);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue