Merge branch 'master' into epoxy
[movit] / mix_effect.cpp
1 #include "mix_effect.h"
2 #include "util.h"
3
4 using namespace std;
5
6 namespace movit {
7
8 MixEffect::MixEffect()
9         : strength_first(0.5f), strength_second(0.5f)
10 {
11         register_float("strength_first", &strength_first);
12         register_float("strength_second", &strength_second);
13 }
14
15 string MixEffect::output_fragment_shader()
16 {
17         return read_file("mix_effect.frag");
18 }
19
20 }  // namespace movit