diff --git a/data/shaders/flip.frag b/data/shaders/flip.frag index dda3a7076..2a53eb818 100644 --- a/data/shaders/flip.frag +++ b/data/shaders/flip.frag @@ -5,5 +5,13 @@ void main() vec2 texc = gl_TexCoord[0].xy; texc.y = 1.0 - texc.y; - gl_FragColor = texture2D(tex, texc); + + vec4 col = texture2D(tex, texc); + + //col = col * 256; + //col = (1 - col); + + col = col / (1 - col); + + gl_FragColor = vec4(col.rgb, 1.0); }