0f80a8f784ee1f2ed1575e9b784594dd728c4647
[movit] / mix_effect.cpp
1 #include "mix_effect.h"
2 #include "util.h"
3
4 MixEffect::MixEffect()
5         : strength_first(0.5f), strength_second(0.5f)
6 {
7         register_float("strength_first", &strength_first);
8         register_float("strength_second", &strength_second);
9 }
10
11 std::string MixEffect::output_fragment_shader()
12 {
13         return read_file("mix_effect.frag");
14 }