]> git.sesse.net Git - movit/blob - multiply_effect.cpp
Remove the finalize() member function from Input.
[movit] / multiply_effect.cpp
1 #include "multiply_effect.h"
2 #include "util.h"
3
4 using namespace std;
5
6 MultiplyEffect::MultiplyEffect()
7         : factor(1.0f, 1.0f, 1.0f, 1.0f)
8 {
9         register_vec4("factor", (float *)&factor);
10 }
11
12 string MultiplyEffect::output_fragment_shader()
13 {
14         return read_file("multiply_effect.frag");
15 }