Hack: we have data from debayer -- square -- but yuv uses block of
four pixels -- YUYV.
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user