1 #include "multiply_effect.h" 2 #include "util.h" 3 4 using namespace std; 5 6 namespace movit { 7 MultiplyEffect()8MultiplyEffect::MultiplyEffect() 9 : factor(1.0f, 1.0f, 1.0f, 1.0f) 10 { 11 register_vec4("factor", (float *)&factor); 12 } 13 output_fragment_shader()14string MultiplyEffect::output_fragment_shader() 15 { 16 return read_file("multiply_effect.frag"); 17 } 18 19 } // namespace movit 20