fake registration
This commit is contained in:
parent
d0481fa0c6
commit
34dfbdd390
1 changed files with 9 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
Loading…
Reference in a new issue