diff --git a/AVQt/textureES.fsh b/AVQt/textureES.fsh index afafe9e0fe884ed5be7f037cf47adc55b7e3b2e4..fb53f0b7ba18c150d40e82324e63f3a7d68b35ed 100644 --- a/AVQt/textureES.fsh +++ b/AVQt/textureES.fsh @@ -34,7 +34,7 @@ void main() { finalColor = vec4(rgb, 1.0f); } else if (inputFormat == 2) { // YUV420P mediump vec3 yuv; - yuv.x = texture(textureY, newTexCoord.st).r; + yuv.x = texture(textureY, newTexCoord.st).r * 4; // yuv.x = texture(textureY, newTexCoord.st).r - 0.0625; yuv.y = texture(textureU, newTexCoord.st).r - 0.5; yuv.z = texture(textureV, newTexCoord.st).r - 0.5;