]> git.sesse.net Git - movit/blob - mix_effect.cpp
Small precision fix in texture bounce comment.
[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 }