22 lines
277 B
Plaintext
22 lines
277 B
Plaintext
varying vec2 uv;
|
|
|
|
void main()
|
|
{
|
|
vec4 c = vec4(0.0);
|
|
float a, b;
|
|
|
|
a = uv.y * 1.111111e+6;
|
|
b = uv.y * 1.111110e+6;
|
|
c.x = a-b;
|
|
|
|
a = uv.y * 1.23456789;
|
|
b = uv.y * 1.23456765;
|
|
c.y = a-b;
|
|
|
|
a = uv.y * -1.234567e-6;
|
|
b = uv.y * -1.234565e-6;
|
|
c.z = a-b;
|
|
|
|
gl_FragColor = c;
|
|
}
|