fix(video): fix leaky abstraction in ogl luma shader (#4404)
This commit is contained in:
parent
8836db5dbd
commit
49197c71af
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue