Adding new Color Shift effect, which can shift any color (RGBA) with infinite wrapping (and full supports animation).

This commit is contained in:
Jonathan Thomas
2018-03-03 18:02:14 -06:00
parent 3034bbe273
commit 7f9fc30203
6 changed files with 406 additions and 0 deletions

View File

@@ -53,6 +53,9 @@ EffectBase* EffectInfo::CreateEffect(string effect_type) {
else if (effect_type == "ChromaKey")
return new ChromaKey();
else if (effect_type == "Color Shift")
return new ColorShift();
else if (effect_type == "Deinterlace")
return new Deinterlace();
@@ -89,6 +92,7 @@ Json::Value EffectInfo::JsonValue() {
root.append(Blur().JsonInfo());
root.append(Brightness().JsonInfo());
root.append(ChromaKey().JsonInfo());
root.append(ColorShift().JsonInfo());
root.append(Deinterlace().JsonInfo());
root.append(Hue().JsonInfo());
root.append(Mask().JsonInfo());