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