]> git.sesse.net Git - movit/blob - saturation_effect.cpp
Factor out RTT sampler setting in its own function.
[movit] / saturation_effect.cpp
1 #define GL_GLEXT_PROTOTYPES 1
2
3 #include "saturation_effect.h"
4 #include "util.h"
5
6 using namespace std;
7
8 namespace movit {
9
10 SaturationEffect::SaturationEffect()
11         : saturation(1.0f)
12 {
13         register_float("saturation", &saturation);
14 }
15
16 string SaturationEffect::output_fragment_shader()
17 {
18         return read_file("saturation_effect.frag");
19 }
20
21 }  // namespace movit