Difference Filter

Difference Filter 1.0

Supported Bit Versions
  1. 32-bit
  2. 64-bit
I needed to invert a source - or rather apply a difference filter on it - and out of that came this "plugin", in case someone else has need for this, or did not know about the filter files.

As of writing I could not find a way to add custom filters, so this plugin is only a minor change to the subtract filter and replaces the subtract filter. If custom filters are added or this becomes irrelevant in some other way, I may update/remove this as necessary.

The contents of the .zip go to OBS Studio > data > obs-plugins > obs-filters. Included are the original blend_sub_filter, the modified blend_sub_filter and blend_dif_filter which is the same file. Only the blend_sub_filter.effect is needed/used.

To install, replace the existing blend_sub_filter.effect with the one from the .zip.

NOTE: You can't use the subtract filter at the same time as this filter. To use subtract filter, put the original filter back. You can also replace one of the other color filters if you do not need them.

The only change to the filter is from
Code:
rgba.rgb = saturate(rgba.rgb - targetRGB.rgb);
to
Code:
rgba.rgb = saturate(abs(rgba.rgb - targetRGB.rgb));
and naming changes.
Author
dzre
Downloads
4,284
Views
11,388
First release
Last update
Rating
0.00 star(s) 0 ratings
Top