This repository has been archived on 2024-01-06. You can view files and clone it, but cannot push or open issues or pull requests.
|
#version 330 core
|
|
out vec4 FragColor;
|
|
|
|
in vec3 ourColor;
|
|
in vec2 TexCoord;
|
|
|
|
uniform sampler2D texture1;
|
|
uniform sampler2D texture2;
|
|
|
|
void main()
|
|
{
|
|
FragColor = mix(texture(texture1, TexCoord), texture(texture2, TexCoord), 0.2) * vec4(ourColor, 1.0);
|
|
} |