summary refs log tree commit diff
path: root/src/shaders/triangle.frag.glsl
blob: 0285eb00891eb06017ece311b1f58047c6326790 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#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);
}