mirror of
https://github.com/LizardByte/Sunshine.git
synced 2026-02-04 14:35:36 +00:00
fix(video): fix leaky abstraction in ogl luma shader (#4404)
This commit is contained in:
@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user