obs-filters: Fix chroma key shader bug

This commit is contained in:
jp9000
2016-04-24 13:55:39 -07:00
parent 7c3d858110
commit aa4e18740a

View File

@@ -1,5 +1,8 @@
uniform float4x4 ViewProj;
uniform texture2d image;
uniform float4x4 color_matrix;
uniform float3 color_range_min = {0.0, 0.0, 0.0};
uniform float3 color_range_max = {1.0, 1.0, 1.0};
uniform float4x4 yuv_mat = { 0.182586, 0.614231, 0.062007, 0.062745,
-0.100644, -0.338572, 0.439216, 0.501961,