3 #include "sandbox_effect.h"
6 SandboxEffect::SandboxEffect()
9 register_float("parm", &parm);
12 std::string SandboxEffect::output_fragment_shader()
14 return read_file("sandbox_effect.frag");
17 void SandboxEffect::set_gl_state(GLuint glsl_program_num, const std::string &prefix, unsigned *sampler_num)
19 Effect::set_gl_state(glsl_program_num, prefix, sampler_num);
21 // Any OpenGL state you might want to set, goes here.