diff --git a/data/yuv.frag b/data/yuv.frag index d6fceb0..f7d7879 100644 --- a/data/yuv.frag +++ b/data/yuv.frag @@ -23,9 +23,9 @@ main() texture2D(texture, top_right_uv).r, texture2D(texture, bottom_left_uv).r, texture2D(texture, bottom_right_uv).r); - vec3 color = vec3(samples.x, samples.y, samples.z); + vec3 color = vec3(samples.z, samples.z, samples.z); - color *= color_matrix; + //color *= color_matrix; vec3 gamma_color = pow(color, vec3(inv_gamma)); gl_FragColor = vec4(gamma_color, 1);