13 lines
221 B
GLSL
13 lines
221 B
GLSL
#version 330 core
|
|
|
|
out vec4 FragColor;
|
|
|
|
in vec2 TexCoord;
|
|
|
|
uniform sampler2D texture1;
|
|
uniform sampler2D texture2;
|
|
|
|
void main()
|
|
{
|
|
FragColor = mix(texture(texture1, TexCoord), texture(texture2, vec2(TexCoord)), 0.5);
|
|
} |