//

// Fragment shader for sepia effect
//
// Author: Shirley Carter
//
// invert like a color negative
// updated to 330 and rvfx system by Jeff Brown
//


#version 330

uniform sampler2DRect inputTex;
uniform float uTransitionProgress=1.0;

in vec2 fsTexture;
out vec4 outColor;


void main()
{
	
	vec4 texel = texture(inputTex, fsTexture);
	 // invert color components
	
    outColor.rgb = 1.0 - texel.rgb;
    outColor.a=texel.a;
}

