summary refs log tree commit diff
path: root/res/shaders/triangle.fs
blob: 70a5f6daeb6b61a0c7ff5d8e8336f497cf58a3ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#version 330 core

out vec4 FragColor;  

in vec3 our_color;
in vec2 TexCoord;

uniform sampler2D texture1;
uniform sampler2D texture2;

void main()
{
    FragColor = mix(texture(texture1, TexCoord), texture(texture2, TexCoord), 0.2);
}