Browse Source

libobs: Remove saturate from RGB -> YUV conversion

Incoming texture is UNORM, so the value must already be saturated.
James Park 6 years ago
parent
commit
0c5cb83bf4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libobs/data/default.effect

+ 1 - 1
libobs/data/default.effect

@@ -37,7 +37,7 @@ float4 PSDrawAlphaDivide(VertInOut vert_in) : TARGET
 float4 PSDrawMatrix(VertInOut vert_in) : TARGET
 {
 	float3 rgb = image.Sample(def_sampler, vert_in.uv).rgb;
-	float3 yuv = mul(float4(saturate(rgb), 1.0), color_matrix).xyz;
+	float3 yuv = mul(float4(rgb, 1.0), color_matrix).xyz;
 	return float4(yuv, 1.0);
 }