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