fix(video): fix leaky abstraction in ogl luma shader (#4404)

This commit is contained in:
ns6089
2025-11-08 21:48:49 +03:00
committed by GitHub
parent 8836db5dbd
commit 49197c71af

View File

@ -20,7 +20,7 @@ layout(location = 0) out float color;
void main()
{
vec3 rgb = texture(image, tex).rgb;
float y = dot(color_vec_y.xyz, rgb);
float y = dot(color_vec_y.xyz, rgb) + color_vec_y.w;
color = y * range_y.x + range_y.y;
}