Promote MultiplyEffect to a real effect.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 6 Nov 2013 23:20:59 +0000 (00:20 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 6 Nov 2013 23:20:59 +0000 (00:20 +0100)
commite33b485dcb7bdbe056f6511945d5eb118c085d65
treefb4d726b8595f61874c9e266522c3d069e8258fc
parent5c97329dd35909847e2120b0b368b2723ffe5a44
Promote MultiplyEffect to a real effect.

The intended use is for overlays, where you'd want to do e.g.
0.2*x atop y instead of just x atop y, fading the overlay in or out.

Also, give it full RGBA inputs, as that might potentially be useful
for someone. It certainly was useful for adapting it to continue to
be used in the EffectChain unit test, at least. (It doesn't have
its own unit test, since it's so trivial.)
effect_chain_test.cpp
multiply_effect.cpp [new file with mode: 0644]
multiply_effect.frag [moved from multiply.frag with 100% similarity]
multiply_effect.h [new file with mode: 0644]