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