dolphin/Data/User/Shaders/invert.txt

10 lines
130 B
Plaintext
Raw Normal View History

uniform sampler2D samp9;
2011-01-31 00:08:06 +00:00
out vec4 ocol0;
in vec2 uv0;
void main()
2011-01-31 00:08:06 +00:00
{
ocol0 = vec4(1.0, 1.0, 1.0, 1.0) - texture(samp9, uv0);
2011-01-31 00:08:06 +00:00
}