mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-23 06:24:44 -04:00
Merge pull request #1830 from jpark37/bilinear-lowres-gl-fix
libobs: Fix shader for GLSL
This commit is contained in:
1 file changed
+1
-1
@@ -56,7 +56,7 @@ float4 PSDrawLowresBilinearRGBA(VertData v_in) : TARGET
|
||||
|
||||
float4 PSDrawLowresBilinearMatrix(VertData v_in) : TARGET
|
||||
{
|
||||
float3 rgb = DrawLowresBilinear(v_in);
|
||||
float3 rgb = DrawLowresBilinear(v_in).rgb;
|
||||
float3 yuv = mul(float4(saturate(rgb), 1.0), color_matrix).xyz;
|
||||
return float4(yuv, 1.0);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user