Sha256: 84317dbffce1dd32d3c9ffda1d13835857f0004a0cf4f1c4ed831ba756e9765f

Contents?: true

Size: 195 Bytes

Versions: 11

Compression:

Stored size: 195 Bytes

Contents

#version 110

uniform sampler2D in_Texture;

varying vec2 var_TexCoord;

void main()
{
  vec4 color = texture2D(in_Texture, var_TexCoord);
  gl_FragColor = vec4(vec3(1.0) - color.rgb, color.a);
}

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
danabr75-ashton-0.1.5 lib/ashton/shaders/color_inversion.frag
ashton-0.1.6 lib/ashton/shaders/color_inversion.frag
ashton-0.1.5 lib/ashton/shaders/color_inversion.frag
ashton-0.1.4 lib/ashton/shaders/color_inversion.frag
ashton-0.1.3 lib/ashton/shaders/color_inversion.frag
ashton-0.1.2 lib/ashton/shaders/color_inversion.frag
ashton-0.1.1 lib/ashton/shaders/color_inversion.frag
ashton-0.1.0 lib/ashton/shaders/color_inversion.frag
ashton-0.0.4alpha lib/ashton/shaders/color_inversion.frag
ashton-0.0.3alpha lib/ashton/shaders/color_inversion.frag
ashton-0.0.2alpha lib/ashton/shaders/color_inversion.frag