]> git.sesse.net Git - movit/blob - multiply_effect.cpp
Hard-assert on something that has bitten me too many times now.
[movit] / multiply_effect.cpp
1 #include "multiply_effect.h"
2 #include "util.h"
3
4 using namespace std;
5
6 namespace movit {
7
8 MultiplyEffect::MultiplyEffect()
9         : factor(1.0f, 1.0f, 1.0f, 1.0f)
10 {
11         register_vec4("factor", (float *)&factor);
12 }
13
14 string MultiplyEffect::output_fragment_shader()
15 {
16         return read_file("multiply_effect.frag");
17 }
18
19 }  // namespace movit