|
|
@@ -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,
|