mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-24 23:08:51 -04:00
obs-filters: Remove unused variable for color key
This commit is contained in:
1 parent
0c5cb83bf4
commit
dde6257bd9
1 file changed
-1
@@ -42,7 +42,6 @@ float GetColorDist(float3 rgb)
|
||||
float4 ProcessColorKey(float4 rgba, VertData v_in)
|
||||
{
|
||||
float colorDist = GetColorDist(rgba.rgb);
|
||||
float baseMask = colorDist - similarity;
|
||||
rgba.a *= saturate(max(colorDist - similarity, 0.0) / smoothness);
|
||||
|
||||
return CalcColor(rgba);
|
||||
|
||||
Reference in new issue
Block a user