12 lines
238 B
GLSL
12 lines
238 B
GLSL
#version 460 core
|
|
out vec4 FragColor;
|
|
|
|
|
|
in vec2 TexCoord;
|
|
|
|
uniform sampler2D texture1;
|
|
uniform sampler2D texture2;
|
|
void main()
|
|
{
|
|
FragColor = mix(texture(texture1, TexCoord) , texture(texture2, vec2(-TexCoord.x , TexCoord.y)), 0.2);
|
|
} |