13 lines
192 B
GLSL

#version 330 core
out vec4 FragColor;
in vec4 color;
in vec2 texCoord;
uniform sampler2D texture1;
void main()
{
FragColor = texture(texture1, vec2(texCoord.y, -texCoord.x)) * color;
}