ofxShadertoy flip vertical and horizontal texture

Hi, i am trying to load and correctly display a texture through the ofxShadertoy addon but the texture is displayed inverted. In the .frag shader I tried to modify by subtracting -1 to the vec2 uv having a favorable result by mirroring the texture vertically but not horizontally:

void mainImage( out vec4 fragColor, in vec2 fragCoord )
{
vec2 uv = 1.0-fragCoord.xy / iResolution.xy;
fragColor = texture(iChannel0, uv);
}

I tried to invert the texture too before allocate it but doesn’t works:

tex.getTextureData (). bFlipTexture = true;

I’m fairly newbie to GLSL, any clues on how to solve this?

Thanks!

Trying to figured it out why this works…

define RESHV vec2(640,480)

void main(){
vec2 uv = fragCoord.xy / iResolution.xy / iResolution.xy *- RESHV;
fragColor = texture(iChannel0, uv);

}