fake registration

This commit is contained in:
micuat 2020-10-19 16:56:00 +02:00
parent d0481fa0c6
commit 34dfbdd390

View file

@ -11,6 +11,14 @@ in vec2 gTexCoord;
void main() void main()
{ {
gl_FragColor = texture2D(u_v4l2cam, gTexCoord/3); vec2 st = gTexCoord;
st /= 3;
st -= vec2(0.5);
st *= 1.45;
st += vec2(0.5);
st.s += 0.15;
st.t += 0.16;
gl_FragColor = texture2D(u_v4l2cam, st);
// gl_FragColor = texture2D(uColorTex, gTexCoord);
// gl_FragColor = vec4(1); // gl_FragColor = vec4(1);
} }