diff --git a/zoneb/bin/data/shaders/render.frag b/zoneb/bin/data/shaders/render.frag index 78eed41..4cd307c 100644 --- a/zoneb/bin/data/shaders/render.frag +++ b/zoneb/bin/data/shaders/render.frag @@ -11,6 +11,14 @@ in vec2 gTexCoord; 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); } \ No newline at end of file