#version 410 uniform sampler2D texture1; uniform float symmetry; in vec2 uvV; out vec4 fragColor; void main (void) { vec2 uv = uvV; if(symmetry > 0.5) uv.x = 1.0 - uv.x; fragColor = texture(texture1, uv); fragColor.a = 1.0; }