]> git.sesse.net Git - movit/commit
Add a inverse flag to LumaMixEffect.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 27 Mar 2014 00:38:43 +0000 (01:38 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 27 Mar 2014 00:38:43 +0000 (01:38 +0100)
commitbbbf278f6f2847010a7c41caafa08d36d2099794
tree586aa765f84f5656447b00e9961e725682a26a7a
parent86cdfc6ea4318cfe6fd5d4bef51daf00f480973a
Add a inverse flag to LumaMixEffect.

This is mainly a convenience so that you can change e.g. a left-to-right
wipe into a right-to-left wipe without having to add a separate inverting
effect to the luma. Suggested by Dan Dennedy.
luma_mix_effect.cpp
luma_mix_effect.frag
luma_mix_effect.h
luma_mix_effect_test.cpp